I try to get the data from webmethod in WebServiceProxy.invoke but unscuccessful

PetersCNancy

New Member
I am trying to get data from webmethod in a call from invoke method in custom extender control. the call seems to return successfully(I guess not sure becuase the tacing says status Text=ok). I have tried every possible approch (innerText, innerHTML) (result and result.d) but nothing seems to be working. console.log () is also not working here. The target element is a span element.\[code\]timer: function(){ Sys.Net.WebServiceProxy.invoke("http://localhost:7231/ProfileTenModified/Notifications.asmx", "calculateTime",false,{"dateTime":""}, function (result, e){ console.log(result); this.get_element().innerHTML=result.d;}, function(e){ console.log(e); this.get_element().innerText=e.get_message();}, "User Context", 10000);},\[/code\]
 
Back
Top