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