FormExtensions Class

Definition

Represents support for HTML in an application.

public static class FormExtensions
type FormExtensions = class
Public Module FormExtensions
Inheritance
FormExtensions

Methods

BeginForm(HtmlHelper)

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.

BeginForm(HtmlHelper, Object)

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.

BeginForm(HtmlHelper, RouteValueDictionary)

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.

BeginForm(HtmlHelper, String, String)

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.

BeginForm(HtmlHelper, String, String, FormMethod)

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.

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

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.

BeginForm(HtmlHelper, String, String, FormMethod, Object)

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.

BeginForm(HtmlHelper, String, String, Object)

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.

BeginForm(HtmlHelper, String, String, Object, FormMethod)

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.

BeginForm(HtmlHelper, String, String, Object, FormMethod, Object)

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.

BeginForm(HtmlHelper, String, String, RouteValueDictionary)

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.

BeginForm(HtmlHelper, String, String, RouteValueDictionary, FormMethod)

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.

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

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.

BeginRouteForm(HtmlHelper, Object)

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

BeginRouteForm(HtmlHelper, RouteValueDictionary)

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

BeginRouteForm(HtmlHelper, String)

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

BeginRouteForm(HtmlHelper, String, FormMethod)

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

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

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

BeginRouteForm(HtmlHelper, String, FormMethod, Object)

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

BeginRouteForm(HtmlHelper, String, Object)

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

BeginRouteForm(HtmlHelper, String, Object, FormMethod)

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

BeginRouteForm(HtmlHelper, String, Object, FormMethod, Object)

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

BeginRouteForm(HtmlHelper, String, RouteValueDictionary)

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

BeginRouteForm(HtmlHelper, String, RouteValueDictionary, FormMethod)

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

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

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

EndForm(HtmlHelper)

Renders the closing </form> tag to the response.

Applies to