AjaxExtensions.BeginForm AjaxExtensions.BeginForm Method

Definition

Overloads

BeginForm(AjaxHelper, String, String, Object, AjaxOptions) BeginForm(AjaxHelper, String, String, Object, AjaxOptions)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object) BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions) BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, Object, AjaxOptions, Object) BeginForm(AjaxHelper, String, Object, AjaxOptions, Object)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, String, AjaxOptions) BeginForm(AjaxHelper, String, String, AjaxOptions)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, Object, AjaxOptions) BeginForm(AjaxHelper, String, Object, AjaxOptions)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions) BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, AjaxOptions) BeginForm(AjaxHelper, String, AjaxOptions)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, AjaxOptions) BeginForm(AjaxHelper, AjaxOptions)

Writes an opening <form> tag to the response.

BeginForm(AjaxHelper, String, String, Object, AjaxOptions) BeginForm(AjaxHelper, String, String, Object, AjaxOptions)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, string controllerName, object routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * obj * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

controllerName
String String

The name of the controller.

routeValues
Object Object

An 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 by using object initializer syntax.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, string controllerName, System.Web.Routing.RouteValueDictionary routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

controllerName
String String

The name of the controller.

routeValues
RouteValueDictionary RouteValueDictionary

An object that contains the parameters for a route.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

htmlAttributes
IDictionary<String,Object>

An object that contains the HTML attributes to set for the element.

Returns

An opening <form> tag.

BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object) BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, string controllerName, object routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, object htmlAttributes);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * obj * System.Web.Mvc.Ajax.AjaxOptions * obj -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

controllerName
String String

The name of the controller.

routeValues
Object Object

An 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 by using object initializer syntax.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

htmlAttributes
Object Object

An object that contains the HTML attributes to set for the element.

Returns

An opening <form> tag.

BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions) BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, string controllerName, System.Web.Routing.RouteValueDictionary routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

controllerName
String String

The name of the controller.

routeValues
RouteValueDictionary RouteValueDictionary

An object that contains the parameters for a route.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

BeginForm(AjaxHelper, String, Object, AjaxOptions, Object) BeginForm(AjaxHelper, String, Object, AjaxOptions, Object)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, object routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, object htmlAttributes);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * obj * System.Web.Mvc.Ajax.AjaxOptions * obj -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

routeValues
Object Object

An 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 by using object initializer syntax.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

htmlAttributes
Object Object

An object that contains the HTML attributes to set for the element.

Returns

An opening <form> tag.

BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>) BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, System.Web.Routing.RouteValueDictionary routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

routeValues
RouteValueDictionary RouteValueDictionary

An object that contains the parameters for a route.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

htmlAttributes
IDictionary<String,Object>

An object that contains the HTML attributes to set for the element..

Returns

An opening <form> tag.

BeginForm(AjaxHelper, String, String, AjaxOptions) BeginForm(AjaxHelper, String, String, AjaxOptions)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, string controllerName, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

controllerName
String String

The name of the controller.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

BeginForm(AjaxHelper, String, Object, AjaxOptions) BeginForm(AjaxHelper, String, Object, AjaxOptions)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, object routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * obj * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

routeValues
Object Object

An 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 by using object initializer syntax.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions) BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, System.Web.Routing.RouteValueDictionary routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

routeValues
RouteValueDictionary RouteValueDictionary

An object that contains the parameters for a route.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

BeginForm(AjaxHelper, String, AjaxOptions) BeginForm(AjaxHelper, String, AjaxOptions)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string actionName, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * string * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

actionName
String String

The name of the action method that will handle the request.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

BeginForm(AjaxHelper, AjaxOptions) BeginForm(AjaxHelper, AjaxOptions)

Writes an opening <form> tag to the response.

public static System.Web.Mvc.Html.MvcForm BeginForm (this System.Web.Mvc.AjaxHelper ajaxHelper, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginForm : System.Web.Mvc.AjaxHelper * System.Web.Mvc.Ajax.AjaxOptions -> System.Web.Mvc.Html.MvcForm

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

Applies to