Skip to main content

ASPxClientHiddenField.PerformCallback(parameter) Method

Sends a callback to the server and generates the server-side ASPxHiddenField.CustomCallback event, passing it the specified argument.

Declaration

PerformCallback(
    parameter: string
): void

Parameters

Name Type Description
parameter string

A string value that represents any information that needs to be sent to the server-side ASPxHiddenField.CustomCallback event.

Remarks

Use the PerformCallback method if you need to asynchronously go to the server, and perform server-side processing using AJAX-based callback technology. You can pass the required information, which can be collected on the client side, as a string of arguments via the PerformCallback method’s parameter parameter.

The PerformCallback method posts back to the server using the callback technology, and generates a server-side ASPxHiddenField.CustomCallback event. The method’s parameter argument is passed to the ASPxHiddenField.CustomCallback event’s handler as the CallbackEventArgsBase.Parameter property. So, the necessary server-side actions can be performed in the event’s handler, based upon the values of the arguments, which can be obtained by parsing the passed information string.

See Also