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.
Code:
App.direct.MyMethod(p1, {
responseType: 'arraybuffer',
xhr2: true,
success: function (result) {
[DirectMethod]
public byte[] MyMethod(p1)
{