ASPxClientPopupControlBase.PerformCallback(parameter) Method
Sends a callback to the server and generates the server-side ASPxPopupControlBase.WindowCallback event, passing the specified argument to it.
Declaration
PerformCallback(
parameter: string
): void
Parameters
Name | Type | Description |
---|---|---|
parameter | string | A string value that is any information that needs to be sent to the server-side ASPxPopupControlBase.WindowCallback event. |
Remarks
Use the PerformCallback method if you need to go to the server asynchronously, and perform some server-side processing using AJAX-based callback technology. You can pass the required information to be collected on the client side as a string of arguments (for instance, in the “Name = Value;” form) via the PerformCallback method’s parameter parameter.
The PerformCallback method posts back to the server, using the callback technology, and generates a server-side ASPxPopupControlBase.WindowCallback event. The method’s parameter argument is passed to the ASPxPopupControlBase.WindowCallback 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 obtained by parsing the passed information string.
Note
The ASPxClientPopupControlBase.BeginCallback and ASPxClientPopupControlBase.EndCallback client events can also be used to perform necessary client actions before and after callback processing.
Important
For the ASPxPopupControl, this method is in effect only for the default popup window (when the ASPxPopupControl.Windows collection is empty). If this collection is not empty, the ASPxClientPopupControl.PerformWindowCallback method should be used instead.