|
|
You can specify the ClientCallbackResult
and ClientCallbackError methods to call on the client-side in case of a
success and failure respectively, and pass the value returned from the server.
You can test the error case by entering a non-integer into a textbox.
Note that when you use these methods you're overriding the default rendering
mechanism of the UltimateAjax control on the client-side. You can
also override the default rendering on the server-side as you can see in
the OverrideOutput sample.
|