Export (0) Print
Expand All

TextAreaExtensions.TextArea Method

.NET Framework 4

Returns the specified textarea element.

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

  NameDescription
Public method Static member TextArea(HtmlHelper, String) Returns the specified textarea element by using the specified HTML helper and the name of the form field.
Public method Static member TextArea(HtmlHelper, String, IDictionary<String, Object>) Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the specified HTML attributes.
Public method Static member TextArea(HtmlHelper, String, Object) Returns the specified textarea element by using the specified HTML helper and HTML attributes.
Public method Static member TextArea(HtmlHelper, String, String) Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the text content.
Public method Static member TextArea(HtmlHelper, String, String, IDictionary<String, Object>) Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes.
Public method Static member TextArea(HtmlHelper, String, String, Object) Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes.
Public method Static member TextArea(HtmlHelper, String, String, Int32, Int32, IDictionary<String, Object>) Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes.
Public method Static member TextArea(HtmlHelper, String, String, Int32, Int32, Object) Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes.
Top

The difference between calling the TextArea method and using a textarea element is that the TextArea method is designed to make it easy to bind to view data or model data.

Community Additions

ADD
Show:
© 2014 Microsoft