BackwardCompatibilitySettings.EnableDataAnnotationAttributesSupport Property
Specifies whether the editors support data annotation attributes.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to EnableDataAnnotationAttributesSupport |
---|---|
ASPxWebControl |
|
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