Skip to main content
Tab

ASPxGridCustomErrorTextEventArgs.ErrorTextKind Property

Indicates the error source.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public GridErrorTextKind ErrorTextKind { get; }

Property Value

Type Description
GridErrorTextKind

A GridErrorTextKind enumeration value that indicates the error source.

Available values:

Name Description
General

Error text of any exception except the exception that is manually raised by handling the ASPxGridView.RowValidating event.

RowValidate

Error text has been specified within the ASPxGridView.RowValidating event handler.

Remarks

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

ASPxGridView

If the exception has been raised within the ASPxGridView.RowValidating event handler, the ErrorTextKind property returns GridErrorTextKind.RowValidate. Otherwise, it returns GridErrorTextKind.General.

Grid View - Get Started

ASPxCardView

If the exception has been raised within the ASPxCardView.CardValidating event handler, the ErrorTextKind property returns GridErrorTextKind.RowValidate. Otherwise, it returns GridErrorTextKind.General.

Card View - Get Started

ASPxVerticalGrid

If the exception has been raised within the ASPxVerticalGrid.RecordValidating event handler, the ErrorTextKind property returns GridErrorTextKind.RowValidate. Otherwise, it returns GridErrorTextKind.General.

Vertical Grid - Get Started

See Also