asp.net.ph

HtmlInputButton Constructor ( )

System.Web.UI.HtmlControls Namespace   HtmlInputButton Class


Initializes a new instance of an HtmlInputButton class using default values.

[ VB ]
Overloads Public Sub New ( )

[ C# ]
public HtmlInputButton ( );

[ C++ ]
public: HtmlInputButton ( );

[ JScript ]
public function HtmlInputButton ( );

This constructor sets the initial TagName property value to button.

Example

The below code shows how to create a new instance of an HtmlInputButton control using the overloaded constructor.

void SubmitBtn_Click ( Object source, EventArgs e ) {
   HtmlInputButton mySubmitButton = new HtmlInputButton ( );     
}
  C# VB

See Also

HtmlInputButton Members   HtmlInputButton Constructor Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph