HtmlHelper<TModel> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A HtmlHelper for a specific model type.
generic <typename TModel>
public ref class HtmlHelper : Microsoft::AspNetCore::Mvc::ViewFeatures::HtmlHelper, Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper<TModel>
public class HtmlHelper<TModel> : Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper, Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
type HtmlHelper<'Model> = class
inherit HtmlHelper
interface IHtmlHelper<'Model>
interface IHtmlHelper
type HtmlHelper<'Model> = class
inherit HtmlHelper
interface IHtmlHelper
interface IHtmlHelper<'Model>
Public Class HtmlHelper(Of TModel)
Inherits HtmlHelper
Implements IHtmlHelper(Of TModel)
Type Parameters
- TModel
The model type.
- Inheritance
- Implements
Constructors
HtmlHelper<TModel>(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder, ExpressionTextCache) |
Initializes a new instance of the HtmlHelper<TModel> class. |
HtmlHelper<TModel>(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder, ModelExpressionProvider) |
Initializes a new instance of the HtmlHelper<TModel> class. |
Properties
Html5DateRenderingMode |
Set this property to CurrentCulture to have templated helpers such as Editor(String, String, String, Object) and EditorFor<TResult>(Expression<Func<TModel,TResult>>, String, String, Object) render date and time values using the current culture. By default, these helpers render dates and times as RFC 3339 compliant strings. (Inherited from HtmlHelper) |
IdAttributeDotReplacement |
Gets the String that replaces periods in the ID attribute of an element. (Inherited from HtmlHelper) |
MetadataProvider |
Gets the metadata provider. Intended for use in IHtmlHelper extension methods. (Inherited from HtmlHelper) |
TempData |
Gets the current ITempDataDictionary instance. (Inherited from HtmlHelper) |
UrlEncoder |
Gets the UrlEncoder to be used for encoding a URL. (Inherited from HtmlHelper) |
ViewBag |
Gets the view bag. (Inherited from HtmlHelper) |
ViewContext |
Gets the context information about the view. (Inherited from HtmlHelper) |
ViewData |
Gets the current view data. |
Methods
ActionLink(String, String, String, String, String, String, Object, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified action. (Inherited from HtmlHelper) |
AntiForgeryToken() |
Returns a <hidden> element (antiforgery token) that will be validated when the containing <form> is submitted. (Inherited from HtmlHelper) |
BeginForm(String, String, Object, FormMethod, Nullable<Boolean>, Object) |
Renders a <form> start tag to the response. When the user submits the form, the action with name
|
BeginRouteForm(String, Object, FormMethod, Nullable<Boolean>, Object) |
Renders a <form> start tag to the response. The route with name |
CheckBox(String, Nullable<Boolean>, Object) |
Returns an <input> element of type "checkbox" with value "true" and an <input> element of type
"hidden" with value "false" for the specified |
CheckBoxFor(Expression<Func<TModel,Boolean>>, Object) |
Returns an <input> element of type "checkbox" with value "true" and an <input> element of type
"hidden" with value "false" for the specified |
Contextualize(ViewContext) |
Sets the ViewContext. |
CreateForm() |
Override this method to return an MvcForm subclass. That subclass may change EndForm() behavior. (Inherited from HtmlHelper) |
Display(String, String, String, Object) |
Returns HTML markup for the |
DisplayFor<TResult>(Expression<Func<TModel,TResult>>, String, String, Object) |
Returns HTML markup for the |
DisplayName(String) |
Returns the display name for the specified |
DisplayNameFor<TResult>(Expression<Func<TModel,TResult>>) |
Returns the display name for the specified |
DisplayNameForInnerType<TModelItem,TResult>(Expression<Func<TModelItem,TResult>>) |
Returns the display name for the specified |
DisplayText(String) |
Returns the simple display text for the specified |
DisplayTextFor<TResult>(Expression<Func<TModel,TResult>>) |
Returns the simple display text for the specified |
DropDownList(String, IEnumerable<SelectListItem>, String, Object) |
Returns a single-selection HTML <select> element for the |
DropDownListFor<TResult>(Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>, String, Object) |
Returns a single-selection HTML <select> element for the |
Editor(String, String, String, Object) |
Returns HTML markup for the |
EditorFor<TResult>(Expression<Func<TModel,TResult>>, String, String, Object) |
Returns HTML markup for the |
Encode(Object) |
Converts the |
Encode(String) |
Converts the specified String to an HTML-encoded String. (Inherited from HtmlHelper) |
EndForm() |
Renders the </form> end tag to the response. (Inherited from HtmlHelper) |
FormatValue(Object, String) |
Formats the value. (Inherited from HtmlHelper) |
GenerateCheckBox(ModelExplorer, String, Nullable<Boolean>, Object) |
Generate a check box. (Inherited from HtmlHelper) |
GenerateDisplay(ModelExplorer, String, String, Object) |
Generate a display. (Inherited from HtmlHelper) |
GenerateDisplayName(ModelExplorer, String) |
Generate display name. (Inherited from HtmlHelper) |
GenerateDisplayText(ModelExplorer) |
Generate display text. (Inherited from HtmlHelper) |
GenerateDropDown(ModelExplorer, String, IEnumerable<SelectListItem>, String, Object) |
Generate a drop down. (Inherited from HtmlHelper) |
GenerateEditor(ModelExplorer, String, String, Object) |
Generate editor. (Inherited from HtmlHelper) |
GenerateForm(String, String, Object, FormMethod, Nullable<Boolean>, Object) |
Renders a <form> start tag to the response. When the user submits the form, the action with name
|
GenerateHidden(ModelExplorer, String, Object, Boolean, Object) |
Generate a hidden. (Inherited from HtmlHelper) |
GenerateId(String) |
Generate an id. (Inherited from HtmlHelper) |
GenerateIdFromName(String) |
Returns an HTML element Id for the specified expression |
GenerateLabel(ModelExplorer, String, String, Object) |
Generate a label. (Inherited from HtmlHelper) |
GenerateListBox(ModelExplorer, String, IEnumerable<SelectListItem>, Object) |
Generate a list box. (Inherited from HtmlHelper) |
GenerateName(String) |
Geneate a name. (Inherited from HtmlHelper) |
GeneratePassword(ModelExplorer, String, Object, Object) |
Generate a password. (Inherited from HtmlHelper) |
GenerateRadioButton(ModelExplorer, String, Object, Nullable<Boolean>, Object) |
Generate a radio button. (Inherited from HtmlHelper) |
GenerateRouteForm(String, Object, FormMethod, Nullable<Boolean>, Object) |
Renders a <form> start tag to the response. The route with name |
GenerateTextArea(ModelExplorer, String, Int32, Int32, Object) |
Generate a text area. (Inherited from HtmlHelper) |
GenerateTextBox(ModelExplorer, String, Object, String, Object) |
Generates a text box. (Inherited from HtmlHelper) |
GenerateValidationMessage(ModelExplorer, String, String, String, Object) |
Generate a validation message. (Inherited from HtmlHelper) |
GenerateValidationSummary(Boolean, String, Object, String) |
Generate a validation summary. (Inherited from HtmlHelper) |
GenerateValue(String, Object, String, Boolean) |
Generate a value. (Inherited from HtmlHelper) |
GetEnumSelectList(ModelMetadata) |
Returns a select list for the given |
GetEnumSelectList(Type) |
Returns a select list for the given |
GetEnumSelectList<TEnum>() |
Returns a select list for the given |
GetExpressionName<TResult>(Expression<Func<TModel,TResult>>) |
Gets the name for |
GetModelExplorer<TResult>(Expression<Func<TModel,TResult>>) |
Gets the ModelExplorer for |
Hidden(String, Object, Object) |
Returns an <input> element of type "hidden" for the specified |
HiddenFor<TResult>(Expression<Func<TModel,TResult>>, Object) |
Returns an <input> element of type "hidden" for the specified |
Id(String) |
Returns the HTML element Id for the specified |
IdFor<TResult>(Expression<Func<TModel,TResult>>) |
Returns the HTML element Id for the specified |
Label(String, String, Object) |
Returns a <label> element for the specified |
LabelFor<TResult>(Expression<Func<TModel,TResult>>, String, Object) |
Returns a <label> element for the specified |
ListBox(String, IEnumerable<SelectListItem>, Object) |
Returns a multi-selection <select> element for the |
ListBoxFor<TResult>(Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>, Object) |
Returns a multi-selection <select> element for the |
Name(String) |
Returns the full HTML element name for the specified |
NameFor<TResult>(Expression<Func<TModel,TResult>>) |
Returns the full HTML element name for the specified |
PartialAsync(String, Object, ViewDataDictionary) |
Returns HTML markup for the specified partial view. (Inherited from HtmlHelper) |
Password(String, Object, Object) |
Returns an <input> element of type "password" for the specified |
PasswordFor<TResult>(Expression<Func<TModel,TResult>>, Object) |
Returns an <input> element of type "password" for the specified |
RadioButton(String, Object, Nullable<Boolean>, Object) |
Returns an <input> element of type "radio" for the specified |
RadioButtonFor<TResult>(Expression<Func<TModel,TResult>>, Object, Object) |
Returns an <input> element of type "radio" for the specified |
Raw(Object) |
Wraps HTML markup from the string representation of an Object in an HtmlString, without HTML-encoding the string representation. (Inherited from HtmlHelper) |
Raw(String) |
Wraps HTML markup in an HtmlString, without HTML-encoding the specified
|
RenderPartialAsync(String, Object, ViewDataDictionary) |
Renders HTML markup for the specified partial view. (Inherited from HtmlHelper) |
RenderPartialCoreAsync(String, Object, ViewDataDictionary, TextWriter) |
Render a partial view. (Inherited from HtmlHelper) |
RouteLink(String, String, String, String, String, Object, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified route. (Inherited from HtmlHelper) |
TextArea(String, String, Int32, Int32, Object) |
Returns a <textarea> element for the specified |
TextAreaFor<TResult>(Expression<Func<TModel,TResult>>, Int32, Int32, Object) |
Returns a <textarea> element for the specified |
TextBox(String, Object, String, Object) |
Returns an <input> element of type "text" for the specified |
TextBoxFor<TResult>(Expression<Func<TModel,TResult>>, String, Object) |
Returns an <input> element of type "text" for the specified |
ValidationMessage(String, String, Object, String) |
Returns the validation message if an error exists in the ModelStateDictionary object
for the specified |
ValidationMessageFor<TResult>(Expression<Func<TModel,TResult>>, String, Object, String) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationSummary(Boolean, String, Object, String) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. (Inherited from HtmlHelper) |
Value(String, String) |
Returns the formatted value for the specified |
ValueFor<TResult>(Expression<Func<TModel,TResult>>, String) |
Returns the formatted value for the specified |
Extension Methods
RenderComponentAsync(IHtmlHelper, Type, RenderMode, Object) |
Renders the specified |
RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode, Object) |
Renders the |
RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode) |
Renders the |
Display(IHtmlHelper, String, Object) |
Returns HTML markup for the |
Display(IHtmlHelper, String, String, Object) |
Returns HTML markup for the |
Display(IHtmlHelper, String, String, String) |
Returns HTML markup for the |
Display(IHtmlHelper, String, String) |
Returns HTML markup for the |
Display(IHtmlHelper, String) |
Returns HTML markup for the |
DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object) |
Returns HTML markup for the |
DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, Object) |
Returns HTML markup for the |
DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, String) |
Returns HTML markup for the |
DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String) |
Returns HTML markup for the |
DisplayFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) |
Returns HTML markup for the |
DisplayForModel(IHtmlHelper, Object) |
Returns HTML markup for the current model, using a display template and specified additional view data. The template is found using the model's ModelMetadata. |
DisplayForModel(IHtmlHelper, String, Object) |
Returns HTML markup for the current model, using a display template and specified additional view data. The
template is found using the |
DisplayForModel(IHtmlHelper, String, String, Object) |
Returns HTML markup for the current model, using a display template, specified HTML field name, and
additional view data. The template is found using the |
DisplayForModel(IHtmlHelper, String, String) |
Returns HTML markup for the current model, using a display template and specified HTML field name. The
template is found using the |
DisplayForModel(IHtmlHelper, String) |
Returns HTML markup for the current model, using a display template. The template is found using the
|
DisplayForModel(IHtmlHelper) |
Returns HTML markup for the current model, using a display template. The template is found using the model's ModelMetadata. |
DisplayNameForModel(IHtmlHelper) |
Returns the display name for the current model. |
Editor(IHtmlHelper, String, Object) |
Returns HTML markup for the |
Editor(IHtmlHelper, String, String, Object) |
Returns HTML markup for the |
Editor(IHtmlHelper, String, String, String) |
Returns HTML markup for the |
Editor(IHtmlHelper, String, String) |
Returns HTML markup for the |
Editor(IHtmlHelper, String) |
Returns HTML markup for the |
EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object) |
Returns HTML markup for the |
EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, Object) |
Returns HTML markup for the |
EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, String) |
Returns HTML markup for the |
EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String) |
Returns HTML markup for the |
EditorFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) |
Returns HTML markup for the |
EditorForModel(IHtmlHelper, Object) |
Returns HTML markup for the current model, using an editor template and specified additional view data. The template is found using the model's ModelMetadata. |
EditorForModel(IHtmlHelper, String, Object) |
Returns HTML markup for the current model, using an editor template and specified additional view data. The
template is found using the |
EditorForModel(IHtmlHelper, String, String, Object) |
Returns HTML markup for the current model, using an editor template, specified HTML field name, and
additional view data. The template is found using the |
EditorForModel(IHtmlHelper, String, String) |
Returns HTML markup for the current model, using an editor template and specified HTML field name. The
template is found using the |
EditorForModel(IHtmlHelper, String) |
Returns HTML markup for the current model, using an editor template. The template is found using the
|
EditorForModel(IHtmlHelper) |
Returns HTML markup for the current model, using an editor template. The template is found using the model's ModelMetadata. |
BeginForm(IHtmlHelper, FormMethod, Nullable<Boolean>, Object) |
Renders a <form> start tag to the response. When the user submits the form, the current action will process the request. |
BeginForm(IHtmlHelper, FormMethod, Object) |
Renders a <form> start tag to the response. When the user submits the form, the current action will process the request. |
BeginForm(IHtmlHelper, FormMethod) |
Renders a <form> start tag to the response. When the user submits the form, the current action will process the request. |
BeginForm(IHtmlHelper, Nullable<Boolean>) |
Renders a <form> start tag to the response. The <form>'s |
BeginForm(IHtmlHelper, Object) |
Renders a <form> start tag to the response. When the user submits the form, the current action will process the request. |
BeginForm(IHtmlHelper, String, String, FormMethod, Object) |
Renders a <form> start tag to the response. When the user submits the form, the action with name
|
BeginForm(IHtmlHelper, String, String, FormMethod) |
Renders a <form> start tag to the response. When the user submits the form, the action with name
|
BeginForm(IHtmlHelper, String, String, Object, FormMethod) |
Renders a <form> start tag to the response. When the user submits the form, the action with name
|
BeginForm(IHtmlHelper, String, String, Object) |
Renders a <form> start tag to the response. When the user submits the form, the action with name
|
BeginForm(IHtmlHelper, String, String) |
Renders a <form> start tag to the response. When the user submits the form, the action with name
|
BeginForm(IHtmlHelper) |
Renders a <form> start tag to the response. The <form>'s |
BeginRouteForm(IHtmlHelper, Object, Nullable<Boolean>) |
Renders a <form> start tag to the response. The first route that can provide a URL with the
specified |
BeginRouteForm(IHtmlHelper, Object) |
Renders a <form> start tag to the response. The first route that can provide a URL with the
specified |
BeginRouteForm(IHtmlHelper, String, FormMethod, Object) |
Renders a <form> start tag to the response. The route with name |
BeginRouteForm(IHtmlHelper, String, FormMethod) |
Renders a <form> start tag to the response. The route with name |
BeginRouteForm(IHtmlHelper, String, Nullable<Boolean>) |
Renders a <form> start tag to the response. The route with name |
BeginRouteForm(IHtmlHelper, String, Object, FormMethod) |
Renders a <form> start tag to the response. The route with name |
BeginRouteForm(IHtmlHelper, String, Object) |
Renders a <form> start tag to the response. The route with name |
BeginRouteForm(IHtmlHelper, String) |
Renders a <form> start tag to the response. The route with name |
CheckBox(IHtmlHelper, String, Boolean) |
Returns an <input> element of type "checkbox" with value "true" and an <input> element of type
"hidden" with value "false" for the specified |
CheckBox(IHtmlHelper, String, Object) |
Returns an <input> element of type "checkbox" with value "true" and an <input> element of type
"hidden" with value "false" for the specified |
CheckBox(IHtmlHelper, String) |
Returns an <input> element of type "checkbox" with value "true" and an <input> element of type
"hidden" with value "false" for the specified |
CheckBoxFor<TModel>(IHtmlHelper<TModel>, Expression<Func<TModel,Boolean>>) |
Returns an <input> element of type "checkbox" with value "true" and an <input> element of type
"hidden" with value "false" for the specified |
Hidden(IHtmlHelper, String, Object) |
Returns an <input> element of type "hidden" for the specified |
Hidden(IHtmlHelper, String) |
Returns an <input> element of type "hidden" for the specified |
HiddenFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) |
Returns an <input> element of type "hidden" for the specified |
Password(IHtmlHelper, String, Object) |
Returns an <input> element of type "password" for the specified |
Password(IHtmlHelper, String) |
Returns an <input> element of type "password" for the specified |
PasswordFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) |
Returns an <input> element of type "password" for the specified |
RadioButton(IHtmlHelper, String, Object, Boolean) |
Returns an <input> element of type "radio" for the specified |
RadioButton(IHtmlHelper, String, Object, Object) |
Returns an <input> element of type "radio" for the specified |
RadioButton(IHtmlHelper, String, Object) |
Returns an <input> element of type "radio" for the specified |
RadioButtonFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object) |
Returns an <input> element of type "radio" for the specified |
TextArea(IHtmlHelper, String, Object) |
Returns a <textarea> element for the specified |
TextArea(IHtmlHelper, String, String, Object) |
Returns a <textarea> element for the specified |
TextArea(IHtmlHelper, String, String) |
Returns a <textarea> element for the specified |
TextArea(IHtmlHelper, String) |
Returns a <textarea> element for the specified |
TextAreaFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object) |
Returns a <textarea> element for the specified |
TextAreaFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) |
Returns a <textarea> element for the specified |
TextBox(IHtmlHelper, String, Object, Object) |
Returns an <input> element of type "text" for the specified |
TextBox(IHtmlHelper, String, Object, String) |
Returns an <input> element of type "text" for the specified |
TextBox(IHtmlHelper, String, Object) |
Returns an <input> element of type "text" for the specified |
TextBox(IHtmlHelper, String) |
Returns an <input> element of type "text" for the specified |
TextBoxFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object) |
Returns an <input> element of type "text" for the specified |
TextBoxFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String) |
Returns an <input> element of type "text" for the specified |
TextBoxFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) |
Returns an <input> element of type "text" for the specified |
Label(IHtmlHelper, String, String) |
Returns a <label> element for the specified |
Label(IHtmlHelper, String) |
Returns a <label> element for the specified |
LabelFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, Object) |
Returns a <label> element for the specified |
LabelFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String) |
Returns a <label> element for the specified |
LabelFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) |
Returns a <label> element for the specified |
LabelForModel(IHtmlHelper, Object) |
Returns a <label> element for the current model. |
LabelForModel(IHtmlHelper, String, Object) |
Returns a <label> element for the current model. |
LabelForModel(IHtmlHelper, String) |
Returns a <label> element for the current model. |
LabelForModel(IHtmlHelper) |
Returns a <label> element for the current model. |
ActionLink(IHtmlHelper, String, String, Object, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified action. |
ActionLink(IHtmlHelper, String, String, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified action. |
ActionLink(IHtmlHelper, String, String, String, Object, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified action. |
ActionLink(IHtmlHelper, String, String, String, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified action. |
ActionLink(IHtmlHelper, String, String, String) |
Returns an anchor (<a>) element that contains a URL path to the specified action. |
ActionLink(IHtmlHelper, String, String) |
Returns an anchor (<a>) element that contains a URL path to the specified action. |
RouteLink(IHtmlHelper, String, Object, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified route. |
RouteLink(IHtmlHelper, String, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified route. |
RouteLink(IHtmlHelper, String, String, Object, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified route. |
RouteLink(IHtmlHelper, String, String, Object) |
Returns an anchor (<a>) element that contains a URL path to the specified route. |
RouteLink(IHtmlHelper, String, String) |
Returns an anchor (<a>) element that contains a URL path to the specified route. |
IdForModel(IHtmlHelper) |
Returns the HTML element Id for the current model. |
NameForModel(IHtmlHelper) |
Returns the full HTML element name for the current model. Uses HtmlFieldPrefix (if non-empty) to reflect relationship between current Model and the top-level view's model. |
Partial(IHtmlHelper, String, ViewDataDictionary) |
Returns HTML markup for the specified partial view. |
Partial(IHtmlHelper, String, Object, ViewDataDictionary) |
Returns HTML markup for the specified partial view. |
Partial(IHtmlHelper, String, Object) |
Returns HTML markup for the specified partial view. |
Partial(IHtmlHelper, String) |
Returns HTML markup for the specified partial view. |
PartialAsync(IHtmlHelper, String, ViewDataDictionary) |
Returns HTML markup for the specified partial view. |
PartialAsync(IHtmlHelper, String, Object) |
Returns HTML markup for the specified partial view. |
PartialAsync(IHtmlHelper, String) |
Returns HTML markup for the specified partial view. |
RenderPartial(IHtmlHelper, String, ViewDataDictionary) |
Renders HTML markup for the specified partial view. |
RenderPartial(IHtmlHelper, String, Object, ViewDataDictionary) |
Renders HTML markup for the specified partial view. |
RenderPartial(IHtmlHelper, String, Object) |
Renders HTML markup for the specified partial view. |
RenderPartial(IHtmlHelper, String) |
Renders HTML markup for the specified partial view. |
RenderPartialAsync(IHtmlHelper, String, ViewDataDictionary) |
Renders HTML markup for the specified partial view. |
RenderPartialAsync(IHtmlHelper, String, Object) |
Renders HTML markup for the specified partial view. |
RenderPartialAsync(IHtmlHelper, String) |
Renders HTML markup for the specified partial view. |
DropDownList(IHtmlHelper, String, IEnumerable<SelectListItem>, Object) |
Returns a single-selection HTML <select> element for the |
DropDownList(IHtmlHelper, String, IEnumerable<SelectListItem>, String) |
Returns a single-selection HTML <select> element for the |
DropDownList(IHtmlHelper, String, IEnumerable<SelectListItem>) |
Returns a single-selection HTML <select> element for the |
DropDownList(IHtmlHelper, String, String) |
Returns a single-selection HTML <select> element for the |
DropDownList(IHtmlHelper, String) |
Returns a single-selection HTML <select> element for the |
DropDownListFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>, Object) |
Returns a single-selection HTML <select> element for the |
DropDownListFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>, String) |
Returns a single-selection HTML <select> element for the |
DropDownListFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>) |
Returns a single-selection HTML <select> element for the |
ListBox(IHtmlHelper, String, IEnumerable<SelectListItem>) |
Returns a multi-selection <select> element for the |
ListBox(IHtmlHelper, String) |
Returns a multi-selection <select> element for the |
ListBoxFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>) |
Returns a multi-selection <select> element for the |
ValidationMessage(IHtmlHelper, String, Object) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationMessage(IHtmlHelper, String, String, Object) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationMessage(IHtmlHelper, String, String, String) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationMessage(IHtmlHelper, String, String) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationMessage(IHtmlHelper, String) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationMessageFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, Object) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationMessageFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String, String) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationMessageFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, String) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationMessageFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) |
Returns the validation message if an error exists in the ModelStateDictionary
object for the specified |
ValidationSummary(IHtmlHelper, Boolean, String, Object) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. |
ValidationSummary(IHtmlHelper, Boolean, String, String) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. |
ValidationSummary(IHtmlHelper, Boolean, String) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. |
ValidationSummary(IHtmlHelper, Boolean) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. |
ValidationSummary(IHtmlHelper, String, Object, String) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. |
ValidationSummary(IHtmlHelper, String, Object) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. |
ValidationSummary(IHtmlHelper, String, String) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. |
ValidationSummary(IHtmlHelper, String) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. |
ValidationSummary(IHtmlHelper) |
Returns an unordered list (<ul> element) of validation messages that are in the ModelStateDictionary object. |
Value(IHtmlHelper, String) |
Returns the formatted value for the specified |
ValueFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>) |
Returns the formatted value for the specified |
ValueForModel(IHtmlHelper, String) |
Returns the formatted value for the current model. Specifically, returns the
first non- |
ValueForModel(IHtmlHelper) |
Returns the formatted value for the current model. Specifically, returns the
first non- |