Enables you to prevent a batch edit confirmation message from being displayed.
The BatchEditConfirmShowing event handler receives an argument of the ASPxClientVerticalGridBatchEditConfirmShowingEventArgs type. The following properties provide information specific to this event.
Gets or sets a value indicating whether the action which raised the event should be canceled.
(Inherited from ASPxClientCancelEventArgs)
|requestTriggerID||Gets the client identifier of an object that initiates a send request.|
In the batch edit mode, if the GridBatchEditSettings.ShowConfirmOnLosingChanges property is true (the default behavior), a confirmation dialog is displayed when a grid page contains modified values and an end-user tries to send a request, for instance to sort grid data. The BatchEditConfirmShowing event occurs before displaying this confirmation dialog and allows you to cancel its display, if required.
For instance, you may want to prevent the batch edit confirmation dialog from being displayed, if you place the ASPxVerticalGrid into an ASPxCallbackPanel together with other controls (such as ASPxTabControl, ASPxButton, etc.), and some of these controls (but not the ASPxVerticalGrid) initiates the panel update by calling the ASPxCallbackPanel's ASPxClientCallbackPanel.PerformCallback client method. In this case, you can set a client flag in the initiator control's client event handler, and then analyze this flag within a handler of the BatchEditConfirmShowing event. In the event handler, you can set the ASPxClientCancelEventArgs.cancel property to true to prevent display of the grid confirmation dialog.