Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    RPCManager raw response

    Is there a way to get the raw response of an RPCManager's callback? I am still using version 6.5 of SmartClient and ie 8. I know, I will upgrade when I have the time.

    I tried with the code below, but nothing seems to work:
    Code:
    isc.RPCManager.sendRequest({ 
     params:data, 
    showPrompt:true, 
    willHandleError: true, 
    //serverOutputAsString: true, 
    handleError : function (response, request) { alert("error!!!");alert(response.data);}, // Code never reaches here 
     callback:function (rpcResponse, data, rpcRequest) { 
    alert(rpcResponse.data); 
    alert(rpcResponse); 
     }, 
     paramsOnly:true, 
     actionURL:myPath, 
     useSimpleHttp:true 
     });
    Do you know if I'm missing something, maybe? Thanks.
Working...
X