Class GridViewDataErrorEventArgs
Provides data for the DataError event.
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewDataErrorEventArgs : CancelEventArgs
Constructors
GridViewDataErrorEventArgs(Exception, Int32, Int32, GridViewDataErrorContexts)
Initializes a new instance of the RadGridViewDataErrorEventArgs.
Declaration
public GridViewDataErrorEventArgs(Exception exception, int columnIndex, int rowIndex, GridViewDataErrorContexts context)
Parameters
System.Exception
exception
|
System.Int32
columnIndex
|
System.Int32
rowIndex
|
GridViewDataErrorContexts
context
|
Properties
ColumnIndex
Gets the column index of the cell that the event occurs for.
Declaration
public int ColumnIndex { get; }
Property Value
System.Int32
The column index of the Telerik.WinControls.UI.RadGridViewCell that the event occurs for. |
Context
Gets details about the state of the RadGridView when the error occurred.
Declaration
public GridViewDataErrorContexts Context { get; }
Property Value
GridViewDataErrorContexts
|
Exception
Gets the exception that represents the error.
Declaration
public Exception Exception { get; }
Property Value
System.Exception
|
RowIndex
Gets the row index of the cell that the event occurs for.
Declaration
public int RowIndex { get; }
Property Value
System.Int32
The row index of the Telerik.WinControls.UI.RadGridViewCell that the event occurs for. |
ThrowException
Gets or sets a value indicating whether to throw the exception after the RadGridViewDataErrorEventHandler delegate is finished with it.
Declaration
public bool ThrowException { get; set; }
Property Value
System.Boolean
|