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

ASPxClientTreeList.BatchEditChangesCanceling Event

Occurs on the client side before data changes are canceled in batch edit mode.

Declaration

BatchEditChangesCanceling: ASPxClientEvent<ASPxClientTreeListBatchEditChangesCancelingEventHandler<ASPxClientTreeList>>

Event Data

The BatchEditChangesCanceling event's data class is ASPxClientTreeListBatchEditChangesCancelingEventArgs. 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.
deletedValues Gets a hashtable that maintains information about deleted cells.
insertedValues Gets a hashtable that maintains information about inserted cells.
updatedValues Gets a hashtable that maintains information about updated cells.

Remarks

The ASPxTreeList control allows you to modify a batch of tree list data on the client side and send it to the server in a single request. All user changes are maintained on the client side until the Update button is clicked, or all changes are canceled by clicking the Cancel button.

The BatchEditChangesCanceling event occurs when an end-user has clicked the Cancel command button. The event argument properties allow you to obtain a information about inserted, deleted, and updated cells. To cancel the current operation, set the event parameter’s cancel property to true.

See Also