asp.net.ph

HtmlInputText Constructor ( String )

System.Web.UI.HtmlControls Namespace   HtmlInputText Class


Initializes a new instance of the HtmlInputText class using the specified input control type.

[ VB ]
Overloads Public Sub New ( _
   ByVal type As String _
) 

[ C# ]
public HtmlInputText (
   string type
);

[ C++ ]
public: HtmlInputText (
   String* type
);

[ JScript ]
public function HtmlInputText (
   type : String
);

Parameters

type
A string that specifies the type of the control.

Remarks

Use this constructor to create and initialize a new instance of the HtmlInputText class using the specified input control type.

Only the text or password type is currently supported. This constructor is designed to be able to create and initialize other text box types as they become available.

Example

The below code shows how to create a new instance of an HtmlInputText class using the specified input control type.

HtmlInputText myControl = new HtmlInputText ( "password" );
  C# VB

See Also

HtmlInputText Members   HtmlInputText Constructor Overload List Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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