The delete events are ment to support the deleting data process. They occur when the data in the RadGridView is about to be deleted or has been already deleted by the user.
Currently the delete events occur once for all the rows to be deleted. To get notified use the following events exposed by the RadGridView control:
It is important to know that each one of the delete events is fired only when the user is trying to delete row/rows in the RadGridView control by invoking the Delete command, for example via the Delete button on the keyboard.
The Deleting event always occurs when the user is about to delete the row/rows. The Deleting event can be canceled thus allowing you to stop the delete process. To do so set the Cancel property of the event arguments to True.
If the Deleting event is not canceled then the data is deleted and the Deleted event fires.
The Deleting event occurs when the row/rows is about to be deleted. It fires only once for all the selected rows (in case the SelectionMode is set to Multiple or Extended). The Deleting event handler receives two arguments:
The sender argument contains the RadGridView. This argument is of type object, but can be cast to the RadGridView type.
A GridViewDeletingEventArgs object. This object has the following properties:
Cancel - gets or sets the value indicating whether the event should be canceled.