ASPxClientGlobalEvents.BeginCallback Event
Occurs when a callback for server-side processing is initiated by any DevExpress control.
Declaration
BeginCallback: ASPxClientEvent<ASPxClientGlobalBeginCallbackEventHandler<ASPxClientGlobalEvents>>
Event Data
The BeginCallback event's data class is ASPxClientGlobalBeginCallbackEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
command | Gets a command name that identifies which client action initiated a callback. Inherited from ASPxClientBeginCallbackEventArgs. |
control | Gets an object that initiated a callback. |
Remarks
The BeginCallback event together with the ASPxClientGlobalEvents.EndCallback event can be used to perform specific client-side actions (for example, to display and hide an explanatory picture) while a callback is being processed on the server side.
Example
<dx:ASPxGlobalEvents ID="ASPxGlobalEvents1" runat="server">
<ClientSideEvents
BeginCallback="function(s, e) {
alert('BeginCallback ' + e.control.name);
}" CallbackError="function(s, e) {
alert('CallbackError ' + e.control.name);
}" EndCallback="function(s, e) {
alert('EndCallback ' + e.control.name);
}" />
</dx:ASPxGlobalEvents>
See Also