HtmlInputControl.Type Property
Assembly: System.Web (in system.web.dll)
Use this property get the type of an HtmlInputControl.
The following table shows the different possible values for the Type property.
| Value | Description |
|---|---|
| text | A text box for data entry. |
| password | A text box that masks user input. |
| checkbox | A check box that indicates a true or false condition. |
| radio | A radio button that indicates a selection from a mutually exclusive group of radio buttons. |
| button | A command button. |
| submit | A button that submits the form to the server. |
| reset | A button that clears the form. |
| file | A button that uploads a file. |
| hidden | A non-visible field on a Web page used to persist information between posts to the server. |
| image | An image button. |
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.