Raises the HtmlInputButton.ServerClick event. This allows you to handle the event directly.
- e
- A EventArgs that contains the event data.
The HtmlInputButton.ServerClick event is raised when an System.Web.UI.HtmlControls.HtmlInputButton control is clicked.
A Reset button does not raise the HtmlInputButton.ServerClick event.
When you create an System.Web.UI.HtmlControls.HtmlInputButton delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see Events and Delegates.