GridBatchEditSettings.ShowConfirmOnLosingChanges Property
Provides the capability to disable the confirmation message.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true, to display the confirmation message; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ShowConfirmOnLosingChanges |
---|---|---|
ASP.NET Controls and MVC Extensions | ASPxCardViewEditingSettings |
|
ASPxGridViewEditingSettings |
|
|
TreeListSettingsEditing |
|
|
ASPxVerticalGridEditingSettings |
|
|
MVCxCardViewEditingSettings |
|
|
MVCxGridViewEditingSettings |
|
|
MVCxTreeListSettingsEditing |
|
|
MVCxVerticalGridEditingSettings |
|
|
ASP.NET Bootstrap Controls | BootstrapCardViewEditingSettings |
|
BootstrapGridViewEditingSettings |
|
Remarks
In batch edit mode, the grid control allows modifying a batch of grid data on the client side and sending it to the server in one request. If a grid page contains modified values and an end-user tries to send a callback, for instance, to sort data, the confirmation message is displayed. The end-user can confirm the action and lose the modified data or cancel the action, save changes, and repeat the action.
You can disable the confirmation message by setting the ShowConfirmOnLosingChanges property to false. Note that in this case, unsaved data will be lost on the callbacks without the confirmation. To prevent the dialog display and save end-user changes, you can use the BatchEditConfirmShowing event.
The message text can be specified using the ASPxGridTextSettings.ConfirmOnLosingBatchChanges property.
Note
The confirmation alert cannot be displayed on iOS devices due to their limitations. Safari for mobile devices does not the provide necessary events that can be used for displaying the confirmation message.