.NET Framework (current version)
Occurs when the Button control is clicked.
System.Web (in System.Web.dll)
abstract Click : IEvent<EventHandler,
override Click : IEvent<EventHandler,
The Click event is raised when the Button control is clicked. This event is commonly used when no command name is associated with the Button control (for instance, with a Submit button).
For more information about handling events, see NIB: Consuming Events.
The following code example demonstrates how to specify and code an event handler for the Click event in order to display a message on the Web page when the Button control is clicked.
No code example is currently available or this language may not be supported.
Return to top
Available since 1.1