Skip to main content

ASPxClientPageControl.PerformCallback(parameter) Method

Sends a callback to the server and generates the server-side Callback event.

Declaration

PerformCallback(
    parameter: string,
    onSuccess?: (arg: string) => void
): void

Parameters

Name Type Description
parameter string

A string value to be sent to the server Callback event handler.

onSuccess (arg: string) => void

A client action to perform after the server round-trip completed successfully.

Remarks

Call the PerformCallback method to send a callback to the server. You can pass information from the client side to the server as the method’s parameter. On the server, the PerformCallback method raises the Callback event and passes the specified parameter to the event argument’s Parameter property.

You can use the PerformCallback method to update only the active tab content. Changes to the contents of all inactive tabs are be ignored.

The ASPxPageControl raises the BeginCallback and EndCallback events before and after each callback.

For move information about callbacks in DevExpress controls, see the following section: Callbacks.

See Also