Skip to main content
Tab

ASPxGridDataValidationEventArgs.HasErrors Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

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 - Get 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 - Get 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 - Get Started

See Also