Skip to main content
Tab

BackwardCompatibilitySettings.DataControlBatchEditKeepChangesOnCallbacksDefaultValue Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool DataControlBatchEditKeepChangesOnCallbacksDefaultValue { get; set; }

Property Value

Type Default Description
Boolean true

true, to keep changes on callbacks; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to DataControlBatchEditKeepChangesOnCallbacksDefaultValue
ASPxWebControl
.BackwardCompatibility .DataControlBatchEditKeepChangesOnCallbacksDefaultValue

Remarks

The DataControlBatchEditKeepChangesOnCallbacksDefaultValue property controls whether the grid keeps changes made in batch edit mode on callbacks if the GridViewBatchEditSettings.KeepChangesOnCallbacks property is set to Default.

The following example demonstrates how to prevent the grid from saving changes made in batch edit mode on callbacks:

void Application_Start(object sender, EventArgs e) {
    ASPxWebControl.BackwardCompatibility.DataControlBatchEditKeepChangesOnCallbacksDefaultValue = false;
}
See Also