Share via


HtmlHelper.TextArea Method

Include Protected Members
Include Inherited Members

Returns an HTML multi-line text input (text area) 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 TextArea(String) Returns an HTML multi-line text input (text area) control that has the specified name.
Public method TextArea(String, IDictionary<String, Object>) Returns an HTML multi-line text input (text area) control that has the specified name and custom attributes defined by an attribute dictionary.
Public method TextArea(String, Object) Returns an HTML multi-line text input (text area) control that has the specified name and custom attributes defined by an attribute object.
Public method TextArea(String, String) Returns an HTML multi-line text input (text area) control that has the specified name and value.
Public method TextArea(String, String, IDictionary<String, Object>) Returns an HTML multi-line text input (text area) control that has the specified name, value, and custom attributes defined by an attribute dictionary.
Public method TextArea(String, String, Object) Returns an HTML multi-line text input (text area) control that has the specified name, value, and custom attributes defined by an attribute object.
Public method TextArea(String, String, Int32, Int32, IDictionary<String, Object>) Returns an HTML multi-line text input (text area) control that has the specified name, value, row attribute, col attribute, and custom attributes defined by an attribute dictionary.
Public method TextArea(String, String, Int32, Int32, Object) Returns an HTML multi-line text input (text area) control that has the specified name, value, row attribute, col attribute, and custom attributes defined by an attribute object.

Top

Remarks

The HTML text area 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