Skip to main content

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's data class is ASPxClientGlobalEndCallbackEventArgs. 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. Inherited from ASPxClientEndCallbackEventArgs.
control Gets an object that initiated a callback.

Remarks

The BeginCallback and EndCallback events allow you 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.

The code sample below demonstrates how to automatically update the ASPxHint target UI elements in the EndCallback event handler.

function onGlobalEndCallback(s, e) {
    if (e.control instanceof ASPxClientGridView) {
        ASPxClientHint.Update();
    }
}
See Also