Skip to main content
A newer version of this page is available. .
Tab

BackwardCompatibilitySettings.EnableDataAnnotationAttributesSupport Property

Specifies whether the editors support data annotation attributes.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

public bool EnableDataAnnotationAttributesSupport { get; set; }

Property Value

Type Description
Boolean

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