GridViewBatchEditSettings.KeepChangesOnCallbacks Property

Specifies whether the grid keeps changes made in batch edit mode on callbacks.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll


public DefaultBoolean KeepChangesOnCallbacks { get; set; }

Property Value

Type Default Description


One of the DefaultBoolean enumeration values.

Available values:

Name Description

Corresponds to a Boolean value of true.


Corresponds to a Boolean value of false.


The value is determined by the current object’s parent object setting (e.g., a control setting).

Property Paths

You can access this nested property as listed below:

Library Object Type Path to KeepChangesOnCallbacks
ASP.NET Bootstrap Controls BootstrapGridViewEditingSettings
ASP.NET MVC Extensions MVCxGridViewEditingSettings
ASP.NET Web Forms Controls ASPxGridViewEditingSettings


<dx:ASPxGridView ID="Grid" runat="server" DataSourceID="DemoDataSource1" KeyFieldName="ProductID" EnableRowsCache="false" Width="100%">
    <SettingsEditing Mode="Batch" KeepChangesOnCallbacks=DefaultBoolean.True />

If the KeepChangesOnCallbacks property is set to DefaultBoolean.Default, the control’s behavior is controlled by the BackwardCompatibilitySettings.DataControlBatchEditKeepChangesOnCallbacksDefaultValue property.

ASPxWebControl.BackwardCompatibility.DataControlBatchEditKeepChangesOnCallbacksDefaultValue  = false;

The KeepChangesOnCallbacks property also enables the grid to manage modified rows even if they are located on different pages. When the KeepChangesOnCallbacks property is set to true, the grid displays the “Preview Changes” button. Click this button to show and manage only modified rows before a user saves or cancels the changes.


Online Demo

Batch Editing and Updating

See Also