Skip to main content
A newer version of this page is available. .

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 Gets or sets a value indicating whether the action which raised the event should be canceled. 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