aspxtreme

HtmlButton Constructor

System.Web.UI.HtmlControls Namespace   HtmlButton Class


Initializes a new instance of an HtmlButton class.

[ VB ]
Public Sub New ( )

[ C# ]
public HtmlButton ( );

[ C++ ]
public: HtmlButton ( );

[ JScript ]
public function HtmlButton ( );

Remarks

Use this constructor to create and initialize a new instance of the HtmlButton control.

This constructor sets the initial TagName property value to button.

Example

The below code shows how to create a new instance of an HtmlButton class.

HtmlButton myButton = new HtmlButton ( );
  C# VB

See Also

HtmlButton Members



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 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 aspxtreme