Page view counter

These tutorials demonstrate selected features in ASP.NET version 2.0, but they are compatible with later versions of ASP.NET as well. For the current documentation, see the ASP.NET portal on the MSDN Web site.

 

 

   Welcome   |   ASP.NET   |   Web Services   |   Class Browser   
  |   I want my samples in...      

ASP.NET 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