Home   |   QuickStart Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   
  |   I want my samples in...      

ASP.NET 2.0 Quickstart Tutorials

HtmlInputButton

The HtmlInputButton control (<Input type=button>) is similar in function to the <button> tag, except that it can target any browser.

The following sample illustrates using the HtmlInputButton control.

VB HtmlInputButton2.aspx
Run Sample View Source

Submit and Reset HtmlInputButtons

The HtmlInputButton control also supports the Reset and Submit button types, which are used only with forms. Submit submits the form, whereas Reset restores all of the entry fields in a form to their initial values.

The following sample illustrates using Submit and Reset HtmlInputButton controls.

VB HtmlInputButton1.aspx
Run Sample View Source