ASPxGridCustomErrorTextEventArgs.ErrorTextKind Property
Indicates the error source.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public GridErrorTextKind ErrorTextKind { get; }
#Property Value
Type | Description |
---|---|
Grid |
A Grid |
Available values:
Name | Description |
---|---|
General | Error text of any exception except the exception that is manually raised by handling the ASPx |
Row |
Error text has been specified within the ASPx |
#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.