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

The event arguments passed when the BatchEditCommand event is fired.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridBatchEditingEventArgs : EventArgs, IGridCommandEvent

Inheritance: objectEventArgsGridBatchEditingEventArgs

Implements: IGridCommandEvent

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

Constructors

Initializes a new instance of the GridBatchEditingEventArgs class with the specified item, command string, and global batch edit flag.

C#
public GridBatchEditingEventArgs(GridItem item, string commandsAsString, bool isGlobalBatchEdit)
Parameters:itemGridItem

The GridItem that initialized the event.

commandsAsStringstring

The string containing batch editing commands.

isGlobalBatchEditbool

Indicates whether the batch edit is global.

Initializes a new instance of the GridBatchEditingEventArgs class with the specified item and command string.

C#
public GridBatchEditingEventArgs(GridItem item, string commandsAsString)
Parameters:itemGridItem

The GridItem that initialized the event.

commandsAsStringstring

The string containing batch editing commands.

Properties

Set to true to cancel the default command execution.

C#
public bool Canceled { get; set; }

Implements: IGridCommandEvent.Canceled

The collection of commands which will be executed.

C#
public List<GridBatchEditingCommand> Commands { get; }

The GridItem which initialized the event.

C#
public GridItem Item { get; }
C#
protected virtual RadGrid OwnerGrid { get; }

Methods

Fires the default command execution. The execution could be canceled by canceling it in the BatchEditCommand event.

C#
public void ExecuteCommand(object source)
Parameters:sourceobject

The source control which triggers the event.

Implements: IGridCommandEvent.ExecuteCommand(object)