Class
GridViewDataErrorEventArgs

Provides data for the DataError event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewDataErrorEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsGridViewDataErrorEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

GridViewDataErrorEventArgs(Exception, int, int, GridViewDataErrorContexts)

Initializes a new instance of the RadGridViewDataErrorEventArgs.

Declaration

cs-api-definition
public GridViewDataErrorEventArgs(Exception exception, int columnIndex, int rowIndex, GridViewDataErrorContexts context)

Parameters

exception

Exception

columnIndex

int

rowIndex

int

context

GridViewDataErrorContexts

Properties

ColumnIndex

Gets the column index of the cell that the event occurs for.

Declaration

cs-api-definition
public int ColumnIndex { get; }

Property Value

int

The column index of the that the event occurs for.

Context

Gets details about the state of the RadGridView when the error occurred.

Declaration

cs-api-definition
public GridViewDataErrorContexts Context { get; }

Property Value

GridViewDataErrorContexts

Exception

Gets the exception that represents the error.

Declaration

cs-api-definition
public Exception Exception { get; }

Property Value

Exception

RowIndex

Gets the row index of the cell that the event occurs for.

Declaration

cs-api-definition
public int RowIndex { get; }

Property Value

int

The row index of the 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

cs-api-definition
public bool ThrowException { get; set; }

Property Value

bool