AjaxExtensions.BeginRouteForm AjaxExtensions.BeginRouteForm Method

Definition

Overloads

BeginRouteForm(AjaxHelper, String, AjaxOptions) BeginRouteForm(AjaxHelper, String, AjaxOptions)

Writes an opening <form> tag to the response using the specified routing information.

BeginRouteForm(AjaxHelper, String, Object, AjaxOptions) BeginRouteForm(AjaxHelper, String, Object, AjaxOptions)

Writes an opening <form> tag to the response using the specified routing information.

BeginRouteForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions) BeginRouteForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)

Writes an opening <form> tag to the response using the specified routing information.

BeginRouteForm(AjaxHelper, String, Object, AjaxOptions, Object) BeginRouteForm(AjaxHelper, String, Object, AjaxOptions, Object)

Writes an opening <form> tag to the response using the specified routing information.

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

Writes an opening <form> tag to the response using the specified routing information.

BeginRouteForm(AjaxHelper, String, AjaxOptions) BeginRouteForm(AjaxHelper, String, AjaxOptions)

Writes an opening <form> tag to the response using the specified routing information.

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

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

routeName
String String

The name of the route to use to obtain the form post URL.

ajaxOptions
AjaxOptions AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

BeginRouteForm(AjaxHelper, String, Object, AjaxOptions) BeginRouteForm(AjaxHelper, String, Object, AjaxOptions)

Writes an opening <form> tag to the response using the specified routing information.

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

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

routeName
String String

The name of the route to use to obtain the form post URL.

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.

BeginRouteForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions) BeginRouteForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)

Writes an opening <form> tag to the response using the specified routing information.

public static System.Web.Mvc.Html.MvcForm BeginRouteForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string routeName, System.Web.Routing.RouteValueDictionary routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions);
static member BeginRouteForm : 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.

routeName
String String

The name of the route to use to obtain the form post URL.

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.

BeginRouteForm(AjaxHelper, String, Object, AjaxOptions, Object) BeginRouteForm(AjaxHelper, String, Object, AjaxOptions, Object)

Writes an opening <form> tag to the response using the specified routing information.

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

Parameters

ajaxHelper
AjaxHelper AjaxHelper

The AJAX helper.

routeName
String String

The name of the route to use to obtain the form post URL.

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.

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

Writes an opening <form> tag to the response using the specified routing information.

public static System.Web.Mvc.Html.MvcForm BeginRouteForm (this System.Web.Mvc.AjaxHelper ajaxHelper, string routeName, System.Web.Routing.RouteValueDictionary routeValues, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member BeginRouteForm : 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.

routeName
String String

The name of the route to use to obtain the form post URL.

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.

Applies to