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

ASPxGridDataValidationEventArgs.HasErrors Property

Gets whether the processed data item (row, card or record) has errors.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public bool HasErrors { get; }

Property Value

Type Description
Boolean

true, if the processed data item has errors; otherwise, false.

Remarks

Find control-specific information (for ASPxGridView, ASPxCardView or ASPxVerticalGrid) in the sections below.

ASPxGridView

The HasErrors property returns false if the ASPxDataValidationEventArgs.Errors list is empty and the ASPxDataValidationEventArgs.RowError property is set to an empty string.

Grid View - Getting Started

ASPxCardView

The HasErrors property returns false if the ASPxCardViewDataValidationEventArgs.Errors list is empty and the ASPxCardViewDataValidationEventArgs.CardError property is set to an empty string.

Card View - Getting Started

ASPxVerticalGrid

The HasErrors property returns false if the ASPxVerticalGridDataValidationEventArgs.Errors list is empty and the ASPxVerticalGridDataValidationEventArgs.RecordError property is set to an empty string.

Vertical Grid - Getting Started

See Also