HtmlInputText Constructor (String)
Assembly: System.Web (in system.web.dll)
Use this constructor to create and initialize a new instance of the HtmlInputText control using the specified input control type. It allows you to create a specific type of text box control, such as password. Only the password or text type is currently supported. This constructor is designed to allow you to create other text box types if they become available.
The following table shows the initial property value for an instance of HtmlInputText.
| Property | Initial Value |
|---|---|
| The value of the type parameter. |
Note |
|---|
| Although you can use this constructor to create a text type text box control, the default constructor is commonly used instead. |
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Note