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

ASPxClientEndCallbackEventArgs Class

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

Declaration

declare class ASPxClientEndCallbackEventArgs extends ASPxClientEventArgs

Remarks

Objects of the ASPxClientEndCallbackEventArgs type are used as arguments for the EndCallback event generated on the client side.

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

Example

WebForms:


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

MVC:


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

    settings.ClientSideEvents.EndCallback = "function(s, e) { if (e.command == 'ADDNEWROW') {
        s.Refresh(); } }";
}).Bind(Model).GetHtml() 

Inheritance

See Also