Enables you to prevent changes made within a card from being discarded.
NuGet Package: DevExpress.Web
public event ASPxStartCardEditingEventHandler CancelCardEditing
Public Event CancelCardEditing As ASPxStartCardEditingEventHandler
The CancelCardEditing event's data class is ASPxStartCardEditingEventArgs. The following properties provide information specific to this event:
|Cancel||Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.|
|EditingKeyValue||Gets the processed card’s key value.|
The CancelCardEditing event is raised in the cases listed below:
- an end-user has clicked the Cancel command;
- the ASPxClientCardView.CancelEdit method has been called.
The CancelCardEditing event enables you to prevent the ASPxCardView from being switched to browse mode. To do this, set the event parameter’s Cancel property to