Nucleus .Net Core CMS

HtmlHelpers.BeginNucleusFormHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to render a form with an action that targets an extension controller.

Methods

BeginNucleusForm (IHtmlHelper,String,String,FormMethod) Method

BeginNucleusForm (IHtmlHelper html, String actionName, String controllerName, FormMethod method)
Renders a <form> start tag to the response. When the user submits the form, the action with the specified actionName, controllerName and the extension of the currently executing extension will process the request.

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

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

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

BeginNucleusForm (IHtmlHelper html, String actionName, String controllerName, String extensionName, 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 extensionName will process the request.
Parameters
Name Type
html Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
actionName String

The action name.

controllerName String

The controller name.

extensionName String

The extension 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.

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

BeginNucleusForm (IHtmlHelper html, String actionName, String controllerName, String extensionName, 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.

extensionName String
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.

BeginNucleusForm (IHtmlHelper,String,String,String,String,Object,FormMethod,Boolean,Object) Method

BeginNucleusForm (IHtmlHelper html, String actionName, String controllerName, String areaName, String extensionName, Object routeValues, FormMethod method, Boolean antiforgery, 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
extensionName String
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.

antiforgery Boolean
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.