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.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to UseEditorPropertiesInDataControlValidation |
---|---|
ASPxWebControl |
|
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;
}