ASPxGridView.CancelRowEditing Event
Enables you to prevent changes made within a row from being discarded.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Event Data
The CancelRowEditing event's data class is ASPxStartRowEditingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs. |
EditingKeyValue | Gets the processed row’s key value. |
Remarks
The CancelRowEditing event is raised in the cases listed below:
- an end-user has clicked the Cancel command;
- the ASPxClientGridView.CancelEdit method has been called.
The CancelRowEditing event enables you to prevent the ASPxGridView from being switched to browse mode. To do this, set the event parameter’s Cancel property to true
.
See Also