HtmlHelper<TModel> Class

 

Represents support for rendering HTML controls in a strongly typed view.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Inheritance Hierarchy

System.Object
  System.Web.Mvc.HtmlHelper
    System.Web.Mvc.HtmlHelper<TModel>

Syntax

public class HtmlHelper<TModel> : HtmlHelper
generic<typename TModel>
public ref class HtmlHelper : HtmlHelper
type HtmlHelper<'TModel> = 
    class
        inherit HtmlHelper
    end
Public Class HtmlHelper(Of TModel)
    Inherits HtmlHelper

Type Parameters

  • TModel
    The type of the model.

Constructors

Name Description
System_CAPS_pubmethod HtmlHelper<TModel>(ViewContext, IViewDataContainer)

Initializes a new instance of the HtmlHelper<TModel> class by using the specified view context and view data container.

System_CAPS_pubmethod HtmlHelper<TModel>(ViewContext, IViewDataContainer, RouteCollection)

Initializes a new instance of the HtmlHelper<TModel> class by using the specified view context, view data container, and route collection.

Properties

Name Description
System_CAPS_pubproperty Html5DateRenderingMode

Gets or sets the HTML5 date rendering mode.(Inherited from HtmlHelper.)

System_CAPS_pubproperty RouteCollection

Gets or sets the collection of routes for the application.(Inherited from HtmlHelper.)

System_CAPS_pubproperty ViewBag

Gets the view bag.

System_CAPS_pubproperty ViewContext

Gets or sets the context information about the view.(Inherited from HtmlHelper.)

System_CAPS_pubproperty ViewData

Gets the strongly typed view data dictionary.

System_CAPS_pubproperty ViewDataContainer

Gets or sets the view data container.(Inherited from HtmlHelper.)

Methods

Name Description
System_CAPS_pubmethod AntiForgeryToken()

Generates a hidden form field (anti-forgery token) that is validated when the form is submitted.(Inherited from HtmlHelper.)

System_CAPS_pubmethod AttributeEncode(Object)

Converts the specified attribute value to an HTML-encoded string.(Inherited from HtmlHelper.)

System_CAPS_pubmethod AttributeEncode(String)

Converts the specified attribute value to an HTML-encoded string.(Inherited from HtmlHelper.)

System_CAPS_pubmethod EnableClientValidation()

Enables input validation that is performed by using client script in the browser.(Inherited from HtmlHelper.)

System_CAPS_pubmethod EnableClientValidation(Boolean)

Enables or disables client validation.(Inherited from HtmlHelper.)

System_CAPS_pubmethod EnableUnobtrusiveJavaScript()

Enables or disables unobtrusive JavaScript.(Inherited from HtmlHelper.)

System_CAPS_pubmethod EnableUnobtrusiveJavaScript(Boolean)

Enables or disables unobtrusive JavaScript.(Inherited from HtmlHelper.)

System_CAPS_pubmethod Encode(Object)

Converts the value of the specified object to an HTML-encoded string.(Inherited from HtmlHelper.)

System_CAPS_pubmethod Encode(String)

Converts the specified string to an HTML-encoded string.(Inherited from HtmlHelper.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod FormatValue(Object, String)

Formats the value.(Inherited from HtmlHelper.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetUnobtrusiveValidationAttributes(String)

Gets the collection of unobtrusive JavaScript validation attributes using the specified HTML name attribute.(Inherited from HtmlHelper.)

System_CAPS_pubmethod GetUnobtrusiveValidationAttributes(String, ModelMetadata)

Gets the collection of unobtrusive JavaScript validation attributes using the specified HTML name attribute and model metadata.(Inherited from HtmlHelper.)

System_CAPS_pubmethod HttpMethodOverride(HttpVerbs)

Returns a hidden input element that identifies the override method for the specified verb that represents the HTTP data-transfer method used by the client.(Inherited from HtmlHelper.)

System_CAPS_pubmethod HttpMethodOverride(String)

Returns a hidden input element that identifies the override method for the specified HTTP data-transfer method that was used by the client.(Inherited from HtmlHelper.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Raw(Object)

Returns markup that is not HTML encoded.(Inherited from HtmlHelper.)

System_CAPS_pubmethod Raw(String)

Returns markup that is not HTML encoded.(Inherited from HtmlHelper.)

System_CAPS_pubmethod SetValidationMessageElement(String)

Set element name used to wrap the validation message generated by ValidationMessage and other overloads.(Inherited from HtmlHelper.)

System_CAPS_pubmethod SetValidationSummaryMessageElement(String)

Set element name used to wrap a top-level message in ValidationSummary and other overloads.(Inherited from HtmlHelper.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Extension Methods

Name Description
System_CAPS_pubmethod Action(String)

Overloaded. Invokes the specified child action method and returns the result as an HTML string.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod Action(String, Object)

Overloaded. Invokes the specified child action method with the specified parameters and returns the result as an HTML string.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod Action(String, RouteValueDictionary)

Overloaded. Invokes the specified child action method using the specified parameters and returns the result as an HTML string.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod Action(String, String)

Overloaded. Invokes the specified child action method using the specified controller name and returns the result as an HTML string.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod Action(String, String, Object)

Overloaded. Invokes the specified child action method using the specified parameters and controller name and returns the result as an HTML string.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod Action(String, String, RouteValueDictionary)

Overloaded. Invokes the specified child action method using the specified parameters and controller name and returns the result as an HTML string.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod ActionLink(String, String)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod ActionLink(String, String, Object)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod ActionLink(String, String, Object, Object)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod ActionLink(String, String, RouteValueDictionary)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod ActionLink(String, String, RouteValueDictionary, IDictionary<String, Object>)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod ActionLink(String, String, String)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod ActionLink(String, String, String, Object, Object)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod ActionLink(String, String, String, RouteValueDictionary, IDictionary<String, Object>)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod ActionLink(String, String, String, String, String, String, Object, Object)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod ActionLink(String, String, String, String, String, String, RouteValueDictionary, IDictionary<String, Object>)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod BeginForm()

Overloaded. Writes an opening <form> tag to the response. The form uses the POST method, and the request is processed by the action method for the view.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(Object)

Overloaded. Writes an opening <form> tag to the response and includes the route values in the action attribute. The form uses the POST method, and the request is processed by the action method for the view.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(RouteValueDictionary)

Overloaded. Writes an opening <form> tag to the response and includes the route values from the route value dictionary in the action attribute. The form uses the POST method, and the request is processed by the action method for the view.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String)

Overloaded. Writes an opening <form> tag to the response and sets the action tag to the specified controller and action. The form uses the POST method.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String, FormMethod)

Overloaded. Writes an opening <form> tag to the response and sets the action tag to the specified controller and action. The form uses the specified HTTP method.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String, FormMethod, IDictionary<String, Object>)

Overloaded. Writes an opening <form> tag to the response and sets the action tag to the specified controller and action. The form uses the specified HTTP method and includes the HTML attributes from a dictionary.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String, FormMethod, Object)

Overloaded. Writes an opening <form> tag to the response and sets the action tag to the specified controller and action. The form uses the specified HTTP method and includes the HTML attributes.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String, Object)

Overloaded. Writes an opening <form> tag to the response, and sets the action tag to the specified controller, action, and route values. The form uses the POST method.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String, Object, FormMethod)

Overloaded. Writes an opening <form> tag to the response and sets the action tag to the specified controller, action, and route values. The form uses the specified HTTP method.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String, Object, FormMethod, Object)

Overloaded. Writes an opening <form> tag to the response and sets the action tag to the specified controller, action, and route values. The form uses the specified HTTP method and includes the HTML attributes.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String, RouteValueDictionary)

Overloaded. Writes an opening <form> tag to the response, and sets the action tag to the specified controller, action, and route values from the route value dictionary. The form uses the POST method.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String, RouteValueDictionary, FormMethod)

Overloaded. Writes an opening <form> tag to the response, and sets the action tag to the specified controller, action, and route values from the route value dictionary. The form uses the specified HTTP method.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginForm(String, String, RouteValueDictionary, FormMethod, IDictionary<String, Object>)

Overloaded. Writes an opening <form> tag to the response, and sets the action tag to the specified controller, action, and route values from the route value dictionary. The form uses the specified HTTP method, and includes the HTML attributes from the dictionary.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(Object)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(RouteValueDictionary)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String, FormMethod)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String, FormMethod, IDictionary<String, Object>)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String, FormMethod, Object)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String, Object)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String, Object, FormMethod)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String, Object, FormMethod, Object)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String, RouteValueDictionary)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String, RouteValueDictionary, FormMethod)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod BeginRouteForm(String, RouteValueDictionary, FormMethod, IDictionary<String, Object>)

Overloaded. Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by the route target.(Defined by FormExtensions.)

System_CAPS_pubmethod CheckBox(String)

Overloaded. Returns a check box input element by using the specified HTML helper and the name of the form field.(Defined by InputExtensions.)

System_CAPS_pubmethod CheckBox(String, Boolean)

Overloaded. Returns a check box input element by using the specified HTML helper, the name of the form field, and a value to indicate whether the check box is selected.(Defined by InputExtensions.)

System_CAPS_pubmethod CheckBox(String, Boolean, IDictionary<String, Object>)

Overloaded. Returns a check box input element by using the specified HTML helper, the name of the form field, a value to indicate whether the check box is selected, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod CheckBox(String, Boolean, Object)

Overloaded. Returns a check box input element by using the specified HTML helper, the name of the form field, a value that indicates whether the check box is selected, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod CheckBox(String, IDictionary<String, Object>)

Overloaded. Returns a check box input element by using the specified HTML helper, the name of the form field, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod CheckBox(String, Object)

Overloaded. Returns a check box input element by using the specified HTML helper, the name of the form field, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod CheckBoxFor<TModel>(Expression<Func<TModel, Boolean>>)

Overloaded. Returns a check box input element for each property in the object that is represented by the specified expression.(Defined by InputExtensions.)

System_CAPS_pubmethod CheckBoxFor<TModel>(Expression<Func<TModel, Boolean>>, IDictionary<String, Object>)

Overloaded. Returns a check box input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod CheckBoxFor<TModel>(Expression<Func<TModel, Boolean>>, Object)

Overloaded. Returns a check box input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod Display(String)

Overloaded. Returns HTML markup for each property in the object that is represented by a string expression.(Defined by DisplayExtensions.)

System_CAPS_pubmethod Display(String, Object)

Overloaded. Returns HTML markup for each property in the object that is represented by a string expression, using additional view data.(Defined by DisplayExtensions.)

System_CAPS_pubmethod Display(String, String)

Overloaded. Returns HTML markup for each property in the object that is represented by the expression, using the specified template.(Defined by DisplayExtensions.)

System_CAPS_pubmethod Display(String, String, Object)

Overloaded. Returns HTML markup for each property in the object that is represented by the expression, using the specified template and additional view data.(Defined by DisplayExtensions.)

System_CAPS_pubmethod Display(String, String, String)

Overloaded. Returns HTML markup for each property in the object that is represented by the expression, using the specified template and an HTML field ID.(Defined by DisplayExtensions.)

System_CAPS_pubmethod Display(String, String, String, Object)

Overloaded. Returns HTML markup for each property in the object that is represented by the expression, using the specified template, HTML field ID, and additional view data.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayFor<TModel, TValue>(Expression<Func<TModel, TValue>>)

Overloaded. Returns HTML markup for each property in the object that is represented by the Expression expression.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayFor<TModel, TValue>(Expression<Func<TModel, TValue>>, Object)

Overloaded. Returns a string that contains each property value in the object that is represented by the specified expression, using additional view data.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String)

Overloaded. Returns a string that contains each property value in the object that is represented by the Expression, using the specified template.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String, Object)

Overloaded. Returns a string that contains each property value in the object that is represented by the specified expression, using the specified template and additional view data.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String, String)

Overloaded. Returns HTML markup for each property in the object that is represented by the Expression, using the specified template and an HTML field ID.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String, String, Object)

Overloaded. Returns HTML markup for each property in the object that is represented by the specified expression, using the template, an HTML field ID, and additional view data.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayForModel()

Overloaded. Returns HTML markup for each property in the model.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayForModel(Object)

Overloaded. Returns HTML markup for each property in the model, using additional view data.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayForModel(String)

Overloaded. Returns HTML markup for each property in the model using the specified template.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayForModel(String, Object)

Overloaded. Returns HTML markup for each property in the model, using the specified template and additional view data.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayForModel(String, String)

Overloaded. Returns HTML markup for each property in the model using the specified template and HTML field ID.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayForModel(String, String, Object)

Overloaded. Returns HTML markup for each property in the model, using the specified template, an HTML field ID, and additional view data.(Defined by DisplayExtensions.)

System_CAPS_pubmethod DisplayName(String)

Gets the display name.(Defined by DisplayNameExtensions.)

System_CAPS_pubmethod DisplayNameFor<TModel, TValue>(Expression<Func<TModel, TValue>>)

Overloaded. Gets the display name for the model.(Defined by DisplayNameExtensions.)

System_CAPS_pubmethod DisplayNameForModel()

Gets the display name for the model.(Defined by DisplayNameExtensions.)

System_CAPS_pubmethod DisplayText(String)

Returns HTML markup for each property in the object that is represented by the specified expression.(Defined by DisplayTextExtensions.)

System_CAPS_pubmethod DisplayTextFor<TModel, TResult>(Expression<Func<TModel, TResult>>)

Returns HTML markup for each property in the object that is represented by the specified expression.(Defined by DisplayTextExtensions.)

System_CAPS_pubmethod DropDownList(String)

Overloaded. Returns a single-selection select element using the specified HTML helper and the name of the form field.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownList(String, IEnumerable<SelectListItem>)

Overloaded. Returns a single-selection select element using the specified HTML helper, the name of the form field, and the specified list items.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownList(String, IEnumerable<SelectListItem>, IDictionary<String, Object>)

Overloaded. Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, and the specified HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownList(String, IEnumerable<SelectListItem>, Object)

Overloaded. Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, and the specified HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownList(String, IEnumerable<SelectListItem>, String)

Overloaded. Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, and an option label.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownList(String, IEnumerable<SelectListItem>, String, IDictionary<String, Object>)

Overloaded. Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, an option label, and the specified HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownList(String, IEnumerable<SelectListItem>, String, Object)

Overloaded. Returns a single-selection select element using the specified HTML helper, the name of the form field, the specified list items, an option label, and the specified HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownList(String, String)

Overloaded. Returns a single-selection select element using the specified HTML helper, the name of the form field, and an option label.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownListFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>)

Overloaded. Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownListFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, IDictionary<String, Object>)

Overloaded. Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownListFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, Object)

Overloaded. Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownListFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, String)

Overloaded. Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and option label.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownListFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, String, IDictionary<String, Object>)

Overloaded. Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items, option label, and HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod DropDownListFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, String, Object)

Overloaded. Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items, option label, and HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod Editor(String)

Overloaded. Returns an HTML input element for each property in the object that is represented by the expression.(Defined by EditorExtensions.)

System_CAPS_pubmethod Editor(String, Object)

Overloaded. Returns an HTML input element for each property in the object that is represented by the expression, using additional view data.(Defined by EditorExtensions.)

System_CAPS_pubmethod Editor(String, String)

Overloaded. Returns an HTML input element for each property in the object that is represented by the expression, using the specified template.(Defined by EditorExtensions.)

System_CAPS_pubmethod Editor(String, String, Object)

Overloaded. Returns an HTML input element for each property in the object that is represented by the expression, using the specified template and additional view data.(Defined by EditorExtensions.)

System_CAPS_pubmethod Editor(String, String, String)

Overloaded. Returns an HTML input element for each property in the object that is represented by the expression, using the specified template and HTML field name.(Defined by EditorExtensions.)

System_CAPS_pubmethod Editor(String, String, String, Object)

Overloaded. Returns an HTML input element for each property in the object that is represented by the expression, using the specified template, HTML field name, and additional view data.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorFor<TModel, TValue>(Expression<Func<TModel, TValue>>)

Overloaded. Returns an HTML input element for each property in the object that is represented by the Expression expression.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorFor<TModel, TValue>(Expression<Func<TModel, TValue>>, Object)

Overloaded. Returns an HTML input element for each property in the object that is represented by the expression, using additional view data.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String)

Overloaded. Returns an HTML input element for each property in the object that is represented by the Expression expression, using the specified template.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String, Object)

Overloaded. Returns an HTML input element for each property in the object that is represented by the expression, using the specified template and additional view data.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String, String)

Overloaded. Returns an HTML input element for each property in the object that is represented by the Expression expression, using the specified template and HTML field name.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String, String, Object)

Overloaded. Returns an HTML input element for each property in the object that is represented by the expression, using the specified template, HTML field name, and additional view data.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorForModel()

Overloaded. Returns an HTML input element for each property in the model.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorForModel(Object)

Overloaded. Returns an HTML input element for each property in the model, using additional view data.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorForModel(String)

Overloaded. Returns an HTML input element for each property in the model, using the specified template.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorForModel(String, Object)

Overloaded. Returns an HTML input element for each property in the model, using the specified template and additional view data.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorForModel(String, String)

Overloaded. Returns an HTML input element for each property in the model, using the specified template name and HTML field name.(Defined by EditorExtensions.)

System_CAPS_pubmethod EditorForModel(String, String, Object)

Overloaded. Returns an HTML input element for each property in the model, using the template name, HTML field name, and additional view data.(Defined by EditorExtensions.)

System_CAPS_pubmethod EndForm()

Renders the closing </form> tag to the response. (Defined by FormExtensions.)

System_CAPS_pubmethod EnumDropDownListFor<TModel, TEnum>(Expression<Func<TModel, TEnum>>)

Overloaded. Returns an HTML select element for each value in the enumeration that is represented by the specified expression.(Defined by SelectExtensions.)

System_CAPS_pubmethod EnumDropDownListFor<TModel, TEnum>(Expression<Func<TModel, TEnum>>, IDictionary<String, Object>)

Overloaded. Returns an HTML select element for each value in the enumeration that is represented by the specified expression.(Defined by SelectExtensions.)

System_CAPS_pubmethod EnumDropDownListFor<TModel, TEnum>(Expression<Func<TModel, TEnum>>, Object)

Overloaded. Returns an HTML select element for each value in the enumeration that is represented by the specified expression.(Defined by SelectExtensions.)

System_CAPS_pubmethod EnumDropDownListFor<TModel, TEnum>(Expression<Func<TModel, TEnum>>, String)

Overloaded. Returns an HTML select element for each value in the enumeration that is represented by the specified expression.(Defined by SelectExtensions.)

System_CAPS_pubmethod EnumDropDownListFor<TModel, TEnum>(Expression<Func<TModel, TEnum>>, String, IDictionary<String, Object>)

Overloaded. Returns an HTML select element for each value in the enumeration that is represented by the specified expression.(Defined by SelectExtensions.)

System_CAPS_pubmethod EnumDropDownListFor<TModel, TEnum>(Expression<Func<TModel, TEnum>>, String, Object)

Overloaded. Returns an HTML select element for each value in the enumeration that is represented by the specified expression.(Defined by SelectExtensions.)

System_CAPS_pubmethod Hidden(String)

Overloaded. Returns a hidden input element by using the specified HTML helper and the name of the form field.(Defined by InputExtensions.)

System_CAPS_pubmethod Hidden(String, Object)

Overloaded. Returns a hidden input element by using the specified HTML helper, the name of the form field, and the value.(Defined by InputExtensions.)

System_CAPS_pubmethod Hidden(String, Object, IDictionary<String, Object>)

Overloaded. Returns a hidden input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod Hidden(String, Object, Object)

Overloaded. Returns a hidden input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod HiddenFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>)

Overloaded. Returns an HTML hidden input element for each property in the object that is represented by the specified expression.(Defined by InputExtensions.)

System_CAPS_pubmethod HiddenFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IDictionary<String, Object>)

Overloaded. Returns an HTML hidden input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod HiddenFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, Object)

Overloaded. Returns an HTML hidden input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod Id(String)

Gets the ID of the HtmlHelper string.(Defined by NameExtensions.)

System_CAPS_pubmethod IdFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>)

Gets the ID of the HtmlHelper<TModel> string(Defined by NameExtensions.)

System_CAPS_pubmethod IdForModel()

Gets the ID of the HtmlHelper string.(Defined by NameExtensions.)

System_CAPS_pubmethod Label(String)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod Label(String, IDictionary<String, Object>)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod Label(String, Object)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod Label(String, String)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text.(Defined by LabelExtensions.)

System_CAPS_pubmethod Label(String, String, IDictionary<String, Object>)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod Label(String, String, Object)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelFor<TModel, TValue>(Expression<Func<TModel, TValue>>)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelFor<TModel, TValue>(Expression<Func<TModel, TValue>>, IDictionary<String, Object>)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelFor<TModel, TValue>(Expression<Func<TModel, TValue>>, Object)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String, IDictionary<String, Object>)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelFor<TModel, TValue>(Expression<Func<TModel, TValue>>, String, Object)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelForModel()

Overloaded. Returns an HTML label element and the property name of the property that is represented by the model.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelForModel(IDictionary<String, Object>)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelForModel(Object)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelForModel(String)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelForModel(String, IDictionary<String, Object>)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod LabelForModel(String, Object)

Overloaded. Returns an HTML label element and the property name of the property that is represented by the specified expression.(Defined by LabelExtensions.)

System_CAPS_pubmethod ListBox(String)

Overloaded. Returns a multi-select select element using the specified HTML helper and the name of the form field.(Defined by SelectExtensions.)

System_CAPS_pubmethod ListBox(String, IEnumerable<SelectListItem>)

Overloaded. Returns a multi-select select element using the specified HTML helper, the name of the form field, and the specified list items.(Defined by SelectExtensions.)

System_CAPS_pubmethod ListBox(String, IEnumerable<SelectListItem>, IDictionary<String, Object>)

Overloaded. Returns a multi-select select element using the specified HTML helper, the name of the form field, the specified list items, and the specified HMTL attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod ListBox(String, IEnumerable<SelectListItem>, Object)

Overloaded. Returns a multi-select select element using the specified HTML helper, the name of the form field, and the specified list items.(Defined by SelectExtensions.)

System_CAPS_pubmethod ListBoxFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>)

Overloaded. Returns an HTML select element for each property in the object that is represented by the specified expression and using the specified list items.(Defined by SelectExtensions.)

System_CAPS_pubmethod ListBoxFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, IDictionary<String, Object>)

Overloaded. Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod ListBoxFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IEnumerable<SelectListItem>, Object)

Overloaded. Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes.(Defined by SelectExtensions.)

System_CAPS_pubmethod Name(String)

Gets the full HTML field name for the object that is represented by the expression.(Defined by NameExtensions.)

System_CAPS_pubmethod NameFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>)

Gets the full HTML field name for the object that is represented by the expression.(Defined by NameExtensions.)

System_CAPS_pubmethod NameForModel()

Gets the full HTML field name for the object that is represented by the expression.(Defined by NameExtensions.)

System_CAPS_pubmethod Partial(String)

Overloaded. Renders the specified partial view as an HTML-encoded string.(Defined by PartialExtensions.)

System_CAPS_pubmethod Partial(String, Object)

Overloaded. Renders the specified partial view as an HTML-encoded string.(Defined by PartialExtensions.)

System_CAPS_pubmethod Partial(String, Object, ViewDataDictionary)

Overloaded. Renders the specified partial view as an HTML-encoded string.(Defined by PartialExtensions.)

System_CAPS_pubmethod Partial(String, ViewDataDictionary)

Overloaded. Renders the specified partial view as an HTML-encoded string.(Defined by PartialExtensions.)

System_CAPS_pubmethod Password(String)

Overloaded. Returns a password input element by using the specified HTML helper and the name of the form field.(Defined by InputExtensions.)

System_CAPS_pubmethod Password(String, Object)

Overloaded. Returns a password input element by using the specified HTML helper, the name of the form field, and the value.(Defined by InputExtensions.)

System_CAPS_pubmethod Password(String, Object, IDictionary<String, Object>)

Overloaded. Returns a password input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod Password(String, Object, Object)

Overloaded. Returns a password input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod PasswordFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>)

Overloaded. Returns a password input element for each property in the object that is represented by the specified expression.(Defined by InputExtensions.)

System_CAPS_pubmethod PasswordFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IDictionary<String, Object>)

Overloaded. Returns a password input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod PasswordFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, Object)

Overloaded. Returns a password input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod RadioButton(String, Object)

Overloaded. Returns a radio button input element that is used to present mutually exclusive options.(Defined by InputExtensions.)

System_CAPS_pubmethod RadioButton(String, Object, Boolean)

Overloaded. Returns a radio button input element that is used to present mutually exclusive options.(Defined by InputExtensions.)

System_CAPS_pubmethod RadioButton(String, Object, Boolean, IDictionary<String, Object>)

Overloaded. Returns a radio button input element that is used to present mutually exclusive options.(Defined by InputExtensions.)

System_CAPS_pubmethod RadioButton(String, Object, Boolean, Object)

Overloaded. Returns a radio button input element that is used to present mutually exclusive options.(Defined by InputExtensions.)

System_CAPS_pubmethod RadioButton(String, Object, IDictionary<String, Object>)

Overloaded. Returns a radio button input element that is used to present mutually exclusive options.(Defined by InputExtensions.)

System_CAPS_pubmethod RadioButton(String, Object, Object)

Overloaded. Returns a radio button input element that is used to present mutually exclusive options.(Defined by InputExtensions.)

System_CAPS_pubmethod RadioButtonFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, Object)

Overloaded. Returns a radio button input element for each property in the object that is represented by the specified expression.(Defined by InputExtensions.)

System_CAPS_pubmethod RadioButtonFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, Object, IDictionary<String, Object>)

Overloaded. Returns a radio button input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod RadioButtonFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, Object, Object)

Overloaded. Returns a radio button input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod RenderAction(String)

Overloaded. Invokes the specified child action method and renders the result inline in the parent view.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod RenderAction(String, Object)

Overloaded. Invokes the specified child action method using the specified parameters and renders the result inline in the parent view.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod RenderAction(String, RouteValueDictionary)

Overloaded. Invokes the specified child action method using the specified parameters and renders the result inline in the parent view.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod RenderAction(String, String)

Overloaded. Invokes the specified child action method using the specified controller name and renders the result inline in the parent view.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod RenderAction(String, String, Object)

Overloaded. Invokes the specified child action method using the specified parameters and controller name and renders the result inline in the parent view.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod RenderAction(String, String, RouteValueDictionary)

Overloaded. Invokes the specified child action method using the specified parameters and controller name and renders the result inline in the parent view.(Defined by ChildActionExtensions.)

System_CAPS_pubmethod RenderPartial(String)

Overloaded. Renders the specified partial view by using the specified HTML helper.(Defined by RenderPartialExtensions.)

System_CAPS_pubmethod RenderPartial(String, Object)

Overloaded. Renders the specified partial view, passing it a copy of the current ViewDataDictionary object, but with the Model property set to the specified model.(Defined by RenderPartialExtensions.)

System_CAPS_pubmethod RenderPartial(String, Object, ViewDataDictionary)

Overloaded. Renders the specified partial view, replacing the partial view's ViewData property with the specified ViewDataDictionary object and setting the Model property of the view data to the specified model.(Defined by RenderPartialExtensions.)

System_CAPS_pubmethod RenderPartial(String, ViewDataDictionary)

Overloaded. Renders the specified partial view, replacing its ViewData property with the specified ViewDataDictionary object.(Defined by RenderPartialExtensions.)

System_CAPS_pubmethod RouteLink(String, Object)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, Object, Object)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, RouteValueDictionary)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, RouteValueDictionary, IDictionary<String, Object>)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, String)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, String, Object)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, String, Object, Object)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, String, RouteValueDictionary)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, String, RouteValueDictionary, IDictionary<String, Object>)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, String, String, String, String, Object, Object)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod RouteLink(String, String, String, String, String, RouteValueDictionary, IDictionary<String, Object>)

Overloaded. (Defined by LinkExtensions.)

System_CAPS_pubmethod TextArea(String)

Overloaded. Returns the specified textarea element by using the specified HTML helper and the name of the form field.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextArea(String, IDictionary<String, Object>)

Overloaded. Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the specified HTML attributes.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextArea(String, Object)

Overloaded. Returns the specified textarea element by using the specified HTML helper and HTML attributes.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextArea(String, String)

Overloaded. Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the text content.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextArea(String, String, IDictionary<String, Object>)

Overloaded. 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.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextArea(String, String, Int32, Int32, IDictionary<String, Object>)

Overloaded. 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.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextArea(String, String, Int32, Int32, Object)

Overloaded. 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.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextArea(String, String, Object)

Overloaded. 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.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextAreaFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>)

Overloaded. Returns an HTML textarea element for each property in the object that is represented by the specified expression.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextAreaFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IDictionary<String, Object>)

Overloaded. Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextAreaFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, Int32, Int32, IDictionary<String, Object>)

Overloaded. Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes and the number of rows and columns.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextAreaFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, Int32, Int32, Object)

Overloaded. Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes and the number of rows and columns.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextAreaFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, Object)

Overloaded. Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes.(Defined by TextAreaExtensions.)

System_CAPS_pubmethod TextBox(String)

Overloaded. Returns a text input element by using the specified HTML helper and the name of the form field.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBox(String, Object)

Overloaded. Returns a text input element by using the specified HTML helper, the name of the form field, and the value.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBox(String, Object, IDictionary<String, Object>)

Overloaded. Returns a text input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBox(String, Object, Object)

Overloaded. Returns a text input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBox(String, Object, String)

Overloaded. Returns a text input element.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBox(String, Object, String, IDictionary<String, Object>)

Overloaded. Returns a text input element.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBox(String, Object, String, Object)

Overloaded. Returns a text input element.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBoxFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>)

Overloaded. Returns a text input element for each property in the object that is represented by the specified expression.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBoxFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, IDictionary<String, Object>)

Overloaded. Returns a text input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBoxFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, Object)

Overloaded. Returns a text input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBoxFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String)

Overloaded. Returns a text input element.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBoxFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String, IDictionary<String, Object>)

Overloaded. Returns a text input element.(Defined by InputExtensions.)

System_CAPS_pubmethod TextBoxFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String, Object)

Overloaded. Returns a text input element.(Defined by InputExtensions.)

System_CAPS_pubmethod Validate(String)

Retrieves the validation metadata for the specified model and applies each rule to the data field.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidateFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>)

Retrieves the validation metadata for the specified model and applies each rule to the data field.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String)

Overloaded. Displays a validation message if an error exists for the specified field in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, IDictionary<String, Object>)

Overloaded. Displays a validation message if an error exists for the specified field in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, IDictionary<String, Object>, String)

Overloaded. Displays a validation message if an error exists for the specified entry in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, Object)

Overloaded. Displays a validation message if an error exists for the specified field in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, Object, String)

Overloaded. Displays a validation message if an error exists for the specified entry in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, String)

Overloaded. Displays a validation message if an error exists for the specified field in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, String, IDictionary<String, Object>)

Overloaded. Displays a validation message if an error exists for the specified field in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, String, IDictionary<String, Object>, String)

Overloaded. Displays a validation message if an error exists for the specified entry in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, String, Object)

Overloaded. Displays a validation message if an error exists for the specified field in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, String, Object, String)

Overloaded. Displays a validation message if an error exists for the specified entry in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessage(String, String, String)

Overloaded. Displays a validation message if an error exists for the specified entry in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessageFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>)

Overloaded. Returns the HTML markup for a validation-error message for each data field that is represented by the specified expression.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessageFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String)

Overloaded. Returns the HTML markup for a validation-error message for each data field that is represented by the specified expression, using the specified message.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessageFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String, IDictionary<String, Object>)

Overloaded. Returns the HTML markup for a validation-error message for each data field that is represented by the specified expression, using the specified message and HTML attributes.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessageFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String, IDictionary<String, Object>, String)

Overloaded. Returns the HTML markup for a validation-error message for the specified expression.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessageFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String, Object)

Overloaded. Returns the HTML markup for a validation-error message for each data field that is represented by the specified expression, using the specified message and HTML attributes.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessageFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String, Object, String)

Overloaded. Returns the HTML markup for a validation-error message for the specified expression.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationMessageFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String, String)

Overloaded. Returns the HTML markup for a validation-error message for the specified expression.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary()

Overloaded. Returns an unordered list (ul element) of validation messages that are in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(Boolean)

Overloaded. Returns an unordered list (ul element) of validation messages that are in the ModelStateDictionary object and optionally displays only model-level errors.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(Boolean, String)

Overloaded. Returns an unordered list (ul element) of validation messages that are in the ModelStateDictionary object and optionally displays only model-level errors.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(Boolean, String, IDictionary<String, Object>)

Overloaded. Returns an unordered list (ul element) of validation messages that are in the ModelStateDictionary object and optionally displays only model-level errors.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(Boolean, String, IDictionary<String, Object>, String)

Overloaded. (Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(Boolean, String, Object)

Overloaded. Returns an unordered list (ul element) of validation messages that are in the ModelStateDictionary object and optionally displays only model-level errors.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(Boolean, String, Object, String)

Overloaded. (Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(Boolean, String, String)

Overloaded. (Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(String)

Overloaded. Returns an unordered list (ul element) of validation messages that are in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(String, IDictionary<String, Object>)

Overloaded. Returns an unordered list (ul element) of validation messages that are in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(String, IDictionary<String, Object>, String)

Overloaded. (Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(String, Object)

Overloaded. Returns an unordered list (ul element) of validation messages in the ModelStateDictionary object.(Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(String, Object, String)

Overloaded. (Defined by ValidationExtensions.)

System_CAPS_pubmethod ValidationSummary(String, String)

Overloaded. (Defined by ValidationExtensions.)

System_CAPS_pubmethod Value(String)

Overloaded. Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.(Defined by ValueExtensions.)

System_CAPS_pubmethod Value(String, String)

Overloaded. Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.(Defined by ValueExtensions.)

System_CAPS_pubmethod ValueFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>)

Overloaded. Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.(Defined by ValueExtensions.)

System_CAPS_pubmethod ValueFor<TModel, TProperty>(Expression<Func<TModel, TProperty>>, String)

Overloaded. Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.(Defined by ValueExtensions.)

System_CAPS_pubmethod ValueForModel()

Overloaded. Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.(Defined by ValueExtensions.)

System_CAPS_pubmethod ValueForModel(String)

Overloaded. Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.(Defined by ValueExtensions.)

Remarks

The HtmlHelper<TModel> class is a strongly typed subclass of the HtmlHelper class. The HtmlHelper class provides a set of helper methods that help you create HTML controls programmatically. Methods of the HtmlHelper class generate HTML and return the result as a string.

System_CAPS_noteNote

The HtmlHelper class is designed to generate UI. It should not be used in controllers or models.

Extensions methods for the HtmlHelper class are in the System.Web.Mvc.Html namespace. These extensions add helper methods for creating forms, rendering HTML controls, rendering partial views, input validation, and more.

All helper methods and extensions are called using the Html property of the view, which is an instance of the HtmlHelper class. For example, to generate a check box in a form, you call the CheckBox method using the following syntax:

<%= Html.CheckBox("OptionName") >

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Mvc Namespace

Return to top