New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

A base class holding properties for all event arguments related with changing the RadGrid data. Examples: GridUpdatedEventHandler, GridInsertedEventHandler, GridDeletedEventHandler.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridDataChangeEventArgs : EventArgs

Inheritance: objectEventArgsGridDataChangeEventArgs

Derived Classes: GridDeletedEventArgsGridInsertedEventArgsGridUpdatedEventArgs

Inherited Members EventArgs.Emptyobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridDataChangeEventArgs(int affectedRows, Exception e, GridEditableItem item)
Parameters:affectedRowsinteExceptionitemGridEditableItem

Properties

Gets the rows affected from the operation that changed the RadGrid data.

C#
public int AffectedRows { get; }
Property Value:

The rows affected from the operation that changed the RadGrid data.

Gets the exception related with the operation. The property value will be 'null' if no exception occured during the operation.

C#
public Exception Exception { get; }
Property Value:

The exception.

Gets or sets a value which if set to 'true' and exception was thrown will cause the RadGrid to skip throwing the exception and will let the user handle it.

C#
public bool ExceptionHandled { get; set; }
Property Value:

A value which if set to 'true' and exception was thrown will cause the RadGrid to skip throwing the exception and will let the user handle it.

Gets the GridEditableItem caused the event.

C#
public GridEditableItem Item { get; }
Property Value:

The GridEditableItem caused the event.