HtmlInputButton.OnServerClick Method
.NET Framework 3.0
Raises the ServerClick event. This allows you to handle the event directly.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The ServerClick event is raised when an HtmlInputButton control is clicked.
Note: |
|---|
| A Reset button does not raise the ServerClick event. |
When you create an 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.
Community Additions
ADD
Show:
Note: