The requested page is not available for the requested platform. You are viewing the content for Default platform.

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 handler receives an argument of the ASPxClientGlobalBeginCallbackEventArgs 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 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.

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