Most framework errors that occur as part of a callback will fire the callback handler. This includes network and security errors from XmlHttp, server side execution or routing errors, as well as possible control assignment (for Panel operations).
function HelloWorld() { Callback.Helloworld("Rick",HelloWorldCallback,OnPageError); } function HelloWorldCallbac(Result) { alert(Result); } function OnPageError(CallbackException) { alert("Page Error: " + CallbackException.message); }
Member | Description | |
---|---|---|
isCallbackError | This is a marker property that lets any calling code check if the callback result is an Exception. | |
message | The error message for the error that occurred. This message can be the result of the operational processing (XmlHttp), or Javascript parsing of the response, or more likely contain the result of a server side exception. |