Back to Devexpress

ASPxGridDataValidationEventArgs.HasErrors Property

aspnet-devexpress-dot-web-dot-aspxgriddatavalidationeventargs.md

latest2.6 KB
Original Source

ASPxGridDataValidationEventArgs.HasErrors Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public bool HasErrors { get; }
vb
Public ReadOnly Property HasErrors As Boolean

Property Value

TypeDescription
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

ASPxGridDataValidationEventArgs Class

ASPxGridDataValidationEventArgs Members

DevExpress.Web Namespace