HtmlHelper.GetInputTypeString Method
Returns the HTML input control type as a string.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- inputType
- Type: System.Web.Mvc.InputType
The enumerated input type.
Return Value
Type: System.StringThe input type string ("checkbox", "hidden", "password", "radio", or "text").
Show: