LinkButton::Click Event
.NET Framework (current version)
Occurs when the LinkButton control is clicked.
Assembly: System.Web (in System.Web.dll)
public: event EventHandler^ Click { virtual void add(EventHandler^ value) sealed; virtual void remove(EventHandler^ value) sealed; }
Implements
IButtonControl::ClickThe Click event is raised when the LinkButton control is clicked. This event is commonly used when no command name is associated with the LinkButton control, as in the case of a Submit button.
For more information about handling events, see NIB: Consuming Events.
The following example demonstrates how to specify and code a handler for the Click event to display a message when the LinkButton control is clicked.
.NET Framework
Available since 1.1
Available since 1.1
Show: