The HtmlInputButton control allows developers to program against the HTML <input type=button>
, <input type=submit>
, and <input type=reset>
elements. When a user clicks on an HTML Input Button control, input from the form that the control is embedded in is posted to the server, processed there, and a response sent back to the requesting browser.
Used in conjunction with the HtmlInputText and HtmlTextArea controls, developers can create user input or authentication pages that can be processed on the server.
Note This control does not require a closing tag.
ASP+ Syntax
Required properties are noted in boldface type.
<input type= button | submit | reset runat=server id="programmaticID" OnServerClick="onserverclickhandler" >
Tasks
Writing Event Handlers for Server Controls
See Also