Skip to main content

ASPxClientVerticalGrid.BatchEditRecordDeleting Event

Occurs on the client side before a record is deleted in batch edit mode.

Declaration

BatchEditRecordDeleting: ASPxClientEvent<ASPxClientVerticalGridBatchEditRecordDeletingEventHandler<ASPxClientVerticalGrid>>

Event Data

The BatchEditRecordDeleting event's data class is ASPxClientVerticalGridBatchEditRecordDeletingEventArgs. The following properties provide information specific to this event:

Property Description
cancel Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
recordValues Gets a hashtable that maintains information about deleted cells.
visibleIndex Gets the processed record’s visible index.

Remarks

The ASPxVerticalGrid control allows you to modify a batch of grid data on the client side and send it to the server in a single request.

The BatchEditRecordDeleting event occurs when an end-user has clicked the Delete command button. The event argument properties allow you to identify the processed record by its visible index (visibleIndex), and to obtain information about deleted cells (recordValues). To cancel the current operation, set the event parameter’s cancel property to true.

See Also