ASPxClientGlobalEvents.EndCallback Event

Occurs on the client side, after server-side processing of a callback initiated by any DevExpress web control, has been completed.

Declaration

EndCallback: ASPxClientEvent<ASPxClientGlobalEndCallbackEventHandler<ASPxClientGlobalEvents>>

Event Data

The EndCallback event handler receives an argument of the ASPxClientGlobalEndCallbackEventArgs type. The following properties provide information specific to this event.

Property Description
command Gets a command name that identifies which client action forced a callback to occur.
control Gets an object that initiated a callback.

Remarks

The ASPxClientGlobalEvents.BeginCallback and EndCallback events can be used to perform specific client-side actions (for example, to display and hide an explanatory text or picture) while a callback is being processed on the server side.

Examples

<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