callback_after_execute_handler

Client side event handler for Callback.ClientSideAfterExecute and CallbackPanel.ClientSideAfterExecute.

Note: This is a prototype, not a function. You should provide a function that matches this prototype if you wish to handle the corresponding event on the client side. The prototype provides information about the arguments and return value of the function you provide.

Syntax
JavaScript
 callback_after_execute_handler(callback, output, extraData)

Parameters

callback
The Callback object that triggered the callback.
output
The new output returned by the callback.
extraData
Extra data transferred from the server side via CallbackEventArgs.Data property.

Return Value

You can return different values to specify how the new output will be applied. See the remarks section for details.

Remarks

You should provide this function if you want to use client side event handling. This function gives you an opportunity to examine, alter or abandon the new output:

  • To abandon the new output, return false;
  • To alter the new output, returns a string value. This string value will be used to replace the new output.

Do not return any value if you want the new output to be applied (displayed) as it is returned from the server.

You can use getTriggerId and getParam to get more information about the current callback.

See Also