AjaxExtensions.BeginForm Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
BeginForm(AjaxHelper, String, String, Object, AjaxOptions)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, routeValues As Object, ajaxOptions As AjaxOptions) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- controllerName
- String
Nazwa kontrolera.
- routeValues
- Object
Obiekt zawierający parametry trasy. Parametry są pobierane przez odbicie, sprawdzając właściwości obiektu. Ten obiekt jest zwykle tworzony przy użyciu składni inicjatora obiektów.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions, htmlAttributes As IDictionary(Of String, Object)) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- controllerName
- String
Nazwa kontrolera.
- routeValues
- RouteValueDictionary
Obiekt zawierający parametry trasy.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
- htmlAttributes
- IDictionary<String,Object>
Obiekt, który zawiera atrybuty HTML ustawione dla elementu.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, routeValues As Object, ajaxOptions As AjaxOptions, htmlAttributes As Object) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- controllerName
- String
Nazwa kontrolera.
- routeValues
- Object
Obiekt zawierający parametry trasy. Parametry są pobierane przez odbicie, sprawdzając właściwości obiektu. Ten obiekt jest zwykle tworzony przy użyciu składni inicjatora obiektów.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
- htmlAttributes
- Object
Obiekt, który zawiera atrybuty HTML ustawione dla elementu.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- controllerName
- String
Nazwa kontrolera.
- routeValues
- RouteValueDictionary
Obiekt zawierający parametry trasy.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, String, Object, AjaxOptions, Object)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, routeValues As Object, ajaxOptions As AjaxOptions, htmlAttributes As Object) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- routeValues
- Object
Obiekt zawierający parametry trasy. Parametry są pobierane przez odbicie, sprawdzając właściwości obiektu. Ten obiekt jest zwykle tworzony przy użyciu składni inicjatora obiektów.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
- htmlAttributes
- Object
Obiekt, który zawiera atrybuty HTML ustawione dla elementu.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions, htmlAttributes As IDictionary(Of String, Object)) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- routeValues
- RouteValueDictionary
Obiekt zawierający parametry trasy.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
- htmlAttributes
- IDictionary<String,Object>
Obiekt, który zawiera atrybuty HTML ustawione dla elementu.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, String, String, AjaxOptions)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, controllerName As String, ajaxOptions As AjaxOptions) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- controllerName
- String
Nazwa kontrolera.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, String, Object, AjaxOptions)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, routeValues As Object, ajaxOptions As AjaxOptions) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- routeValues
- Object
Obiekt zawierający parametry trasy. Parametry są pobierane przez odbicie, sprawdzając właściwości obiektu. Ten obiekt jest zwykle tworzony przy użyciu składni inicjatora obiektów.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, routeValues As RouteValueDictionary, ajaxOptions As AjaxOptions) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- routeValues
- RouteValueDictionary
Obiekt zawierający parametry trasy.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, String, AjaxOptions)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, actionName As String, ajaxOptions As AjaxOptions) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- actionName
- String
Nazwa metody akcji, która będzie obsługiwać żądanie.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
Zwraca
Tag formularza> otwierającego<.
Dotyczy
BeginForm(AjaxHelper, AjaxOptions)
Zapisuje tag formularza> otwierającego <w odpowiedzi.
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
<Extension()>
Public Function BeginForm (ajaxHelper As AjaxHelper, ajaxOptions As AjaxOptions) As MvcForm
Parametry
- ajaxHelper
- AjaxHelper
Pomocnik AJAX.
- ajaxOptions
- AjaxOptions
Obiekt, który udostępnia opcje żądania asynchronicznego.
Zwraca
Tag formularza> otwierającego<.