AjaxExtensions.BeginRouteForm Method

Definition

Overloads

BeginRouteForm(AjaxHelper, String, AjaxOptions)

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

BeginRouteForm(AjaxHelper, String, Object, AjaxOptions)

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

BeginRouteForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)

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

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>)

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

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
<Extension()>
Public Function BeginRouteForm (ajaxHelper As AjaxHelper, routeName As String, ajaxOptions As AjaxOptions) As MvcForm

Parameters

ajaxHelper
AjaxHelper

The AJAX helper.

routeName
String

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

ajaxOptions
AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

Applies to

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
<Extension()>
Public Function BeginRouteForm (ajaxHelper As AjaxHelper, routeName As String, routeValues As Object, ajaxOptions As AjaxOptions) As MvcForm

Parameters

ajaxHelper
AjaxHelper

The AJAX helper.

routeName
String

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

routeValues
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

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

Applies to

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
<Extension()>
Public Function BeginRouteForm (ajaxHelper As AjaxHelper, routeName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions) As MvcForm

Parameters

ajaxHelper
AjaxHelper

The AJAX helper.

routeName
String

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

routeValues
RouteValueDictionary

An object that contains the parameters for a route.

ajaxOptions
AjaxOptions

An object that provides options for the asynchronous request.

Returns

An opening <form> tag.

Applies to

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
<Extension()>
Public Function BeginRouteForm (ajaxHelper As AjaxHelper, routeName As String, routeValues As Object, ajaxOptions As AjaxOptions, htmlAttributes As Object) As MvcForm

Parameters

ajaxHelper
AjaxHelper

The AJAX helper.

routeName
String

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

routeValues
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

An object that provides options for the asynchronous request.

htmlAttributes
Object

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

Returns

An opening <form> tag.

Applies to

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
<Extension()>
Public Function BeginRouteForm (ajaxHelper As AjaxHelper, routeName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions, htmlAttributes As IDictionary(Of String, Object)) As MvcForm

Parameters

ajaxHelper
AjaxHelper

The AJAX helper.

routeName
String

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

routeValues
RouteValueDictionary

An object that contains the parameters for a route.

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