BackwardCompatibilitySettings.DataEditorsEnableValidationForNotModifiedValues Property
Specifies whether to validate editor values on the server side even if the user does not modify their values on the client side.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(true)]
public bool DataEditorsEnableValidationForNotModifiedValues { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Data |
---|---|
ASPx |
|
#Remarks
The DataEditorsEnableValidationForNotModifiedValues property allows you to add additional security to data editors in an application. When enabled, this property allows you to validate editor values on the server side even if their values are not modified by users on the client.
Note
In version 19.
Breaking Change: The ASP.
#Example
The following code illustrates how to disable this functionality:
Global.asax:
void Application_Start(object sender, EventArgs e) {
ASPxWebControl.BackwardCompatibility.DataEditorsEnableValidationForNotModifiedValues = false;
}