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

The event arguments passed when RadDataForm fires Command event.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class RadDataFormCommandEventArgs : CommandEventArgs, IRadDataFormCommandEvent

Inheritance: objectEventArgsCommandEventArgsRadDataFormCommandEventArgs

Derived Classes: RadDataFormPageChangedEventArgs

Implements: IRadDataFormCommandEvent

Inherited Members CommandEventArgs.CommandNameCommandEventArgs.CommandArgumentEventArgs.Emptyobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public RadDataFormCommandEventArgs(RadDataFormItem dataFormItem, object eventSource, CommandEventArgs args)
Parameters:dataFormItemRadDataFormItemeventSourceobjectargsCommandEventArgs

Properties

Gets or sets a value, defining whether the command should be canceled.

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

A value, defining whether the command should be canceled.

Implements: IRadDataFormCommandEvent.Canceled

Gets or sets the RadDataFormItem which was responsible for firing the event.

C#
public virtual RadDataFormItem DataFormItem { get; set; }
Property Value:

The RadDataFormItem which was responsible for firing the event.

Gets or sets the event source which represent the control which fired the event.

C#
public object EventSource { get; set; }
Property Value:

The event source which represent the control which fired the event.

Methods

Override to fire the corresponding command.

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

The source control which fires the command.

Implements: IRadDataFormCommandEvent.ExecuteCommand(object)