Aug 25, 2017, 7:54 PM
[CLOSED] Reponse Type on a direct method
Hi
I am trying to return a byte array from server side code to jscript via a direct method and cant get it working. Is this the correct syntax? The below succeeds but returns a string as opposed to the byte array.
I am trying to return a byte array from server side code to jscript via a direct method and cant get it working. Is this the correct syntax? The below succeeds but returns a string as opposed to the byte array.
App.direct.MyMethod(p1, {
responseType: 'arraybuffer',
xhr2: true,
success: function (result) {
[DirectMethod]
public byte[] MyMethod(p1)
{
Last edited by fabricio.murta; Aug 28, 2017 at 8:29 PM.