ASPxGridView.RowDeleted Event
Occurs after a row has been deleted.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public event ASPxDataDeletedEventHandler RowDeleted
#Event Data
The RowDeleted event's data class is ASPxDataDeletedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Affected |
Gets the number of records affected by the update operation.
Inherited from ASPx |
Exception |
Gets the exception (if any) that was raised during the update operation.
Inherited from ASPx |
Exception |
Gets or sets whether an exception raised during the update operation was handled in the event handler.
Inherited from ASPx |
Keys | Gets a dictionary of field name/value pairs that specify the primary key of the item to delete. |
Values | Gets a dictionary of the non-key field name/value pairs for the item to be deleted. |
#Remarks
End-users can delete rows by clicking the Delete command. To delete rows in code, use the ASPxGridView.DeleteRow method.
To cancel the delete operation, handle the ASPxGridView.RowDeleting event.
Note
The Row