Skip to main content
Tab

BackwardCompatibilitySettings.EnableDataAnnotationAttributesSupport Property

Specifies whether the editors support data annotation attributes.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

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

Property Value

Type Default Description
Boolean true

true, to enable editors to support data annotation attributes; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableDataAnnotationAttributesSupport
ASPxWebControl
.BackwardCompatibility .EnableDataAnnotationAttributesSupport

Remarks

The following example illustrates how to disable the editor support for data annotation attributes.

Global.asax:

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