Skip to main content
Tab

BackwardCompatibilitySettings.ValidatePotentiallyDangerousValuesInBatchEditMode Property

Specifies whether to validate potentially dangerous client values when the control is in batch edit mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean true

true, to validate potentially dangerous client values; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ValidatePotentiallyDangerousValuesInBatchEditMode
ASPxWebControl
.BackwardCompatibility .ValidatePotentiallyDangerousValuesInBatchEditMode

Remarks

Use the ValidatePotentiallyDangerousValuesInBatchEditMode property to validate client values when the control is in batch edit mode.

The following example illustrates how to disable validation of potentially dangerous client values in the control:

Global.asax:

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