HtmlInputButton::ServerClick Event

 

Occurs when an HtmlInputButton control is clicked on the Web page.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

public:
event EventHandler^ ServerClick {
	void add(EventHandler^ value);
	void remove(EventHandler^ value);
}

This event is raised when an HtmlInputButton control is clicked.

System_CAPS_noteNote

A Reset button does not raise the ServerClick event.

For more information about handling events, see NIB: Consuming Events.

The following code example demonstrates how to specify and code a handler for the ServerClick event. The event handler adds the values of the two text boxes on the page and displays the results.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: