Occurs when the user clicks an System.Web.UI.HtmlControls.HtmlButton control on the client Web page.
The HtmlButton.ServerClick event is raised when the System.Web.UI.HtmlControls.HtmlButton control is clicked. This server event causes a round trip to occur from the client to the server and back. It is deliberately different from the client-side OnClick event. If a conflict exists between code run with a HtmlButton.ServerClick event and code run by a client-side OnClick event, the server-side event instructions will override the client-side code.
For more information about handling events, see Consuming Events.