Provides data for the DataError event.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewDataErrorEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsGridViewDataErrorEventArgs
Inherited Members
Constructors
Initializes a new instance of the RadGridViewDataErrorEventArgs.
public GridViewDataErrorEventArgs(Exception exception, int columnIndex, int rowIndex, GridViewDataErrorContexts context)
The exception reported by the grid.
columnIndexintThe column index associated with the error, or -1 when no cell applies.
rowIndexintThe row index associated with the error, or -1 when no row applies.
contextGridViewDataErrorContextsThe data operation context in which the error occurred.
Properties
Gets the column index of the cell that the event occurs for.
public int ColumnIndex { get; }
The column index of the that the event occurs for.
Gets details about the state of the RadGridView when the error occurred.
public GridViewDataErrorContexts Context { get; }
Gets the exception that represents the error.
public Exception Exception { get; }
Gets the row index of the cell that the event occurs for.
public int RowIndex { get; }
The row index of the that the event occurs for.
Gets or sets a value indicating whether to throw the exception after the RadGridViewDataErrorEventHandler delegate is finished with it.