Nucleus .Net Core CMS

HtmlHelpers.BeginAreaFormHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to render a form with an area action.

Methods

BeginAreaForm (IHtmlHelper,String,String,String,FormMethod) Method

BeginAreaForm (IHtmlHelper html, String actionName, String controllerName, String areaName, FormMethod method)
Renders a <form> start tag to the response. When the user submits the form, the action with name actionName, controllerName and areaName will process the request.
Parameters
Name Type
html Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
actionName String

The action name.

controllerName String

The controller name.

areaName String

The area name.

method Microsoft.AspNetCore.Mvc.Rendering.FormMethod

The HTTP method for processing the form, either GET or POST.

BeginAreaForm (IHtmlHelper,String,String,String,FormMethod,Object) Method

BeginAreaForm (IHtmlHelper html, String actionName, String controllerName, String areaName, FormMethod method, Object htmlAttributes)
Renders a <form> start tag to the response. When the user submits the form, the action with name actionName, controllerName and areaName will process the request.
Parameters
Name Type
html Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
actionName String

The action name.

controllerName String

The controller name.

areaName String

The area name.

method Microsoft.AspNetCore.Mvc.Rendering.FormMethod

The HTTP method for processing the form, either GET or POST.

htmlAttributes Object

An T:System.Object that contains the HTML attributes for the element. Alternatively, an T:System.Collections.Generic.IDictionary`2 instance containing the HTML attributes.

BeginAreaForm (IHtmlHelper,String,String,String,Object,FormMethod,Object) Method

BeginAreaForm (IHtmlHelper html, String actionName, String controllerName, String areaName, Object routeValues, FormMethod method, Object htmlAttributes)
Renders a <form> start tag to the response. When the user submits the form, the action with name actionName, controllerName and areaName will process the request.
Parameters
Name Type
html Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
actionName String

The action name.

controllerName String

The controller name.

areaName String

The area name.

routeValues Object

An T:System.Object that contains the parameters for a route. The parameters are retrieved through reflection by examining the properties of the Object. This Object is typically created using Object initializer syntax. Alternatively, an T:System.Collections.Generic.IDictionary`2 instance containing the route parameters.

method Microsoft.AspNetCore.Mvc.Rendering.FormMethod

The HTTP method for processing the form, either GET or POST.

htmlAttributes Object

An T:System.Object that contains the HTML attributes for the element. Alternatively, an T:System.Collections.Generic.IDictionary`2 instance containing the HTML attributes.