ASPxClientRoundPanel.PerformCallback(parameter) Method
Sends a callback to the server and generates the server-side ASPxRoundPanel.ContentCallback event, passing it the specified argument.
Declaration
PerformCallback(
parameter: string,
onSuccess?: (arg: string) => void
): void
Parameters
Name | Type | Description |
---|---|---|
parameter | string | A string value that is any information that needs to be sent to the server-side ASPxRoundPanel.ContentCallback event. |
onSuccess | (arg: string) => void | A client action to perform if the server round-trip completed successfully. |
Remarks
Set the component’s LoadContentViaCallback property to true
and use the PerformCallback
method to asynchronously go to the server and perform server-side processing using AJAX-based callback technology. You can pass the required information collected on the client side as a string of arguments via the PerformCallback
method’s args parameter. The onSuccess
parameter allows you to specify a client function that should be executed after the server round-;trip completed successfully.
The PerformCallback
method posts back to the server using the callback technology, and generates a server-side ASPxRoundPanel.ContentCallback event. 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.
Note that necessary actions can be additionally performed on the client side before and after callback processing by using the ASPxClientRoundPanel.BeginCallback and ASPxClientRoundPanel.EndCallback client event.
Note that the client ASPxClientRoundPanel.PerformCallback
method is not in effect when the ASPxRoundPanel.View property is set to GroupBox
.