"Callback Error: Invalid response from server" from C# ASP.Net application -
i have asp.net application button containing following javascript invoked when clicked:-
function calculate() { sectionindex = getselectedradioindex("section"); compositionindex = getselectedradioindex("composition"); callbackou.callback( "calculate" , sectionindex, compositionindex ); }
i can verify control reaches last line of function setting breakpoint on it. instead of invoking method in code-behind file...
protected void callbackou_callback (object sender, componentart.web.ui.callbackeventargs e) { //blah blah }
i dialogue reporting
callback error: invalid response server.
this dialogue appears 3 times, after page sits there doing nothing (forever, far can make out).
i can't find information this. can give me clues or pointers how go diagnosing problem?
without seeing signature of calculate callback method shot in dark issues have encounter when invoking web methods javascript make sure method decorated [webmethod], make sure method static, make sure parameters of correct type , named (they infact case sensitive when deserializing json iirc). little more information regarding how call made (json/xml) , signature might help. also, can try using fiddler see if more information regarding error.
Comments
Post a Comment