System.Web.UI.WebControls.FormViewCommandEventArgs.CommandSource Property

Gets the control that raised the event.

Syntax

public object CommandSource { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the FormViewCommandEventArgs.CommandSource property to access the properties of the control that raised the event. In the case of a System.Web.UI.WebControls.FormViewCommandEventArgs object, the control is the button that was clicked by the user.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0