ASPxGridCustomErrorTextEventArgs.ErrorTextKind Property
Indicates the error source.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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.
Related Links
ASPxCardView
If the exception has been raised within the ASPxCardView.CardValidating event handler, the ErrorTextKind property returns GridErrorTextKind.RowValidate. Otherwise, it returns GridErrorTextKind.General.
Related Links
ASPxVerticalGrid
If the exception has been raised within the ASPxVerticalGrid.RecordValidating event handler, the ErrorTextKind property returns GridErrorTextKind.RowValidate. Otherwise, it returns GridErrorTextKind.General.