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.
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 ( );
}
Sub SubmitBtn_Click ( source As Object, e As EventArgs )
Dim mySubmitButton As New HtmlInputButton ( )
End Sub |
|
C# |
VB |
HtmlInputButton Members HtmlInputButton Constructor Overload List