HtmlHelper.TextBox Method

Include Protected Members
Include Inherited Members

Returns an HTML text control for use in a web page.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method TextBox(String) Returns an HTML text control that has the specified name.
Public method TextBox(String, Object) Returns an HTML text control that has the specified name and value.
Public method TextBox(String, Object, IDictionary<String, Object>) Returns an HTML text control that has the specified name, value, and custom attributes defined by an attribute dictionary.
Public method TextBox(String, Object, Object) Returns an HTML text control that has the specified name, value, and custom attributes defined by an attribute object.

Top

Remarks

The HTML text control is returned as HTML markup that can be used to render the control in a web page.

See Also

Reference

HtmlHelper Class

System.Web.WebPages.Html Namespace