Allows programmatic access to the HTML <input type=button
>, <input type=submit
>, and <input type=reset
> elements on the server.
The HtmlInputButton control <input type=button ...runat="server"
> renders a push button on an HTML form. The text to be displayed in the button is specified thru its Value attribute.
The HtmlInputButton control is similar in function to the HtmlButton control <button
>, except that the latter can target any browser.
The following sample illustrates using the HtmlInputButton control.
The HtmlInputButton control also supports the Reset and Submit button types, which are mainly used with forms accepting user input. Submit sends the form for processing, whereas Reset restores all of the entry fields in a form to their initial values.
The following sample illustrates using the Submit and Reset HtmlInputButton controls.
Notice that the Reset button does not need a handler. HtmlInputButton controls automatically reset all entry fields to their previous state when the Reset button is clicked.
HtmlInputButton Control Syntax Button Web Server Controls HTML INPUT Element