| DoUltimateAjax(ultimateAjaxClientID [,eventArgument] [,clientResultCallback] [,clientErrorCallback]) |
Initiates a callback request to server-side Callback event handler.
| ultimateAjaxClientID |
Required. String that specifies the ID of the UltimateAjax control on the client-side. |
| eventArgument |
Optional. String that specifies the argument passed from the client-side script to the server-side Callback event handler. |
| clientResultCallback |
Optional. Name of the client-side event handler that receives the result of the successful server-side event. It is called after the callback request has been processed and it takes the rendered output of the UltimateAjax control as the argument. |
| clientErrorCallback |
Optional. Name of the client-side event handler that receives the result when an error occurs in the server-side event handler. It is called when the Callback event handler encounters an exception on the server-side and it takes the exception message as the argument. |
|
DoUltimateAjax('UltimateAjax1', 'arg', ClientResultCallback, ClientErrorCallback);
function ClientResultCallback(argument) {
alert(argument);
}
function ClientErrorCallback(argument) {
alert(argument);
}
|