Skip to main content
Tab

BackwardCompatibilitySettings.UseEditorPropertiesInDataControlValidation Property

Specifies whether grid-like and tree list components use validation rules specified in the column editor’s properties.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean true

true, to use column editors’ validation rules; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseEditorPropertiesInDataControlValidation
ASPxWebControl
.BackwardCompatibility .UseEditorPropertiesInDataControlValidation

Remarks

Note

In version 19.2, we’ve changed this API behavior to improve data security of grid-like DevExpress web controls.

Breaking Change: The Column editor values are validated on the server by default topic illustrates details and describes how to revert to the previous behavior (degrading data security).

Example

The following example illustrates how to ignore the column editors’ validation rules.

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