BackwardCompatibilitySettings.OptimizeErrorMessageDisplayForDataAnnotationValidationInEditors Property
Specifies whether the editor automatically renders extra space for the error message based on the specified conditions.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(true)]
public bool OptimizeErrorMessageDisplayForDataAnnotationValidationInEditors { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Optimize |
---|---|
ASPx |
|
#Remarks
Note
In version 19.
Breaking Change: The The Validation
#Example
void Application_Start(object sender, EventArgs e) {
ASPxWebControl.BackwardCompatibility.OptimizeErrorMessageDisplayForDataAnnotationValidationInEditors = false;
}