Skip to main content

ASPxDataValidationEventArgs.EditorPropertiesErrors Property

Gets a collection of editor errors.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v22.1.dll


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

Property Value

Type Description
Dictionary<GridViewColumn, String>

The collection of errors.


The grid 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 ASPxGridView1_RowValidating(object sender, DevExpress.Web.Data.ASPxDataValidationEventArgs e) {
    ASPxGridView gridView = sender as ASPxGridView;

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


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