LinkButton.Command Event
Assembly: System.Web (in system.web.dll)
public: virtual event CommandEventHandler^ Command { void add (CommandEventHandler^ value) sealed; void remove (CommandEventHandler^ value) sealed; }
/** @event */ public final void add_Command (CommandEventHandler value) /** @event */ public final void remove_Command (CommandEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
The Command event is raised when the LinkButton control is clicked. This event is commonly used when a command name, such as Sort, is associated with the LinkButton control. This allows you to create multiple LinkButton controls on a Web page and programmatically determine which LinkButton control is clicked.
Note |
|---|
| The Command event is raised through the control hierarchy in the form of the BubbleEvent. |
For more information about handling events, see Consuming Events.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Note