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

ASPxClientBeginCallbackEventArgs Class

Provides data for client events related to the beginning of a callback processing round trip.


declare class ASPxClientBeginCallbackEventArgs extends ASPxClientEventArgs


Objects of the ASPxClientBeginCallbackEventArgs type are used as arguments for the BeginCallback events generated on the client side.

ASPxClientBeginCallbackEventArgs objects with proper settings are automatically created and passed to the corresponding event handlers.


The following example illustrates how to use the command property.


<dx:ASPxGridView runat="server" ID="ASPxGridView1" ... >
<ClientSideEvents EndCallback="OnEndCallback" BeginCallback="OnBeginCallback"/> 


@Html.DevExpress().GridView(settings => {
    settings.Name = "GridView1";
    settings.KeyFieldName = "ID";

    settings.ClientSideEvents.BeginCallback = "function(s, e) { command = e.command; }";
    settings.ClientSideEvents.EndCallback = "function(s, e) { if (command == 'ADDNEWROW') {
        s.Refresh(); } }";
See Also