Previously, the editor rendered extra space for its validation message (text and icon) according to the ValidationSettings.Display property value and didn't take into account a model property's Required or RegularExpression annotation attributes.
Starting with v18.2, the editor automatically sets the ValidationSettings.Display property value to 'Dynamic' and renders extra space for the error message if validation fails when the following conditions are met:
- a model data object has the Required or RegularExpression data annotation attributes;
- the ValidationSettings.Display property was not specified.
This change may affect your application. Set the ASPxWebControl.BackwardCompatibility.OptimizeErrorMessageDisplayForDataAnnotationValidationInEditors property to false to return to the previous behavior.
Global.asax:
C#void Application_Start(object sender, EventArgs e) {
ASPxWebControl.BackwardCompatibility.OptimizeErrorMessageDisplayForDataAnnotationValidationInEditors = false;
}