All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
Tab

ASPxCardViewDataValidationEventArgs.EditorPropertiesErrors Property

Gets a collection of editor errors.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public Dictionary<CardViewColumn, string> EditorPropertiesErrors { get; }

Property Value

Type Description
Dictionary<CardViewColumn, String>

The collection of errors.

Remarks

The ASPxCardView uses validation rules specified in the properties of column editors and stores discovered validation errors in the EditorPropertiesErrors property that provides a collection of keys and values. Keys are columns. Values are validation error descriptions.

protected void ASPxCardView1_RecordValidating(object sender, DevExpress.Web.ASPxCardViewDataValidationEventArgs e) {
    ASPxCardView cardView = sender as ASPxCardView;
    e.EditorPropertiesErrors.Remove(cardView.Columns["OrderTime"]);
}

You can set the UseEditorPropertiesInDataControlValidation property to false to ignore column editors’ validation settings.

Global.asax:

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