All docs
V21.2
21.2
21.1
The page you are viewing does not exist in version 21.1. This link will take you to the root page.
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxClientCardViewBatchEditCardChangesCancelingEventArgs Class

Contains data for the BatchEditCardChangesCanceling event.

Declaration

declare class ASPxClientCardViewBatchEditCardChangesCancelingEventArgs extends ASPxClientCancelEventArgs

Remarks

An ASPxClientCardViewBatchEditCardChangesCancelingEventArgs object is automatically created and passed to the ASPxClientCardViewBatchEditCardChangesCancelingEventHandler as a parameter.

Web Forms:

<dx:ASPxCardView runat="server" ID="CardView" ...>
    <CardLayoutProperties>
        <Items>
            <dx:CardViewCommandLayoutItem ShowCancelButton="true"/>
            <!--...-->
        </Items>
    </CardLayoutProperties>
    <SettingsEditing Mode="Batch" />
    <ClientSideEvents BatchEditCardChangesCanceling="onBatchEditCardChangesCanceling" />
    <!--...-->
</dx:ASPxCardView>
function onBatchEditCardChangesCanceling(s, e) {
    e.cancel = true;
}

MVC:

@Html.DevExpress().CardView(settings => {
    settings.Name = "CardView";
    settings.ClientSideEvents.BatchEditCardChangesCanceling = "function (s, e) {e.cancel = true;}";
    settings.SettingsEditing.Mode = CardViewEditingMode.Batch;
    settings.CardLayoutProperties.Items.AddCommandItem(i => {
            i.ShowCancelButton = true;
            ...
    });
    ...
}).Bind(Model).GetHtml()

Inheritance

ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientCardViewBatchEditCardChangesCancelingEventArgs
See Also