AjaxExtensions.BeginForm Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
BeginForm(AjaxHelper, String, String, Object, AjaxOptions)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- controllerName
- String
Nome del controller.
- routeValues
- Object
Oggetto che contiene i parametri per una route. I parametri vengono recuperati tramite reflection esaminando le proprietà dell'oggetto. Questo oggetto viene creato, in genere, usando la sintassi dell'inizializzatore di oggetto.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- controllerName
- String
Nome del controller.
- routeValues
- RouteValueDictionary
Oggetto che contiene i parametri per una route.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
- htmlAttributes
- IDictionary<String,Object>
Oggetto che contiene gli attributi HTML da impostare per l'elemento.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, String, String, Object, AjaxOptions, Object)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- controllerName
- String
Nome del controller.
- routeValues
- Object
Oggetto che contiene i parametri per una route. I parametri vengono recuperati tramite reflection esaminando le proprietà dell'oggetto. Questo oggetto viene creato, in genere, usando la sintassi dell'inizializzatore di oggetto.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
- htmlAttributes
- Object
Oggetto che contiene gli attributi HTML da impostare per l'elemento.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, String, String, RouteValueDictionary, AjaxOptions)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- controllerName
- String
Nome del controller.
- routeValues
- RouteValueDictionary
Oggetto che contiene i parametri per una route.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, String, Object, AjaxOptions, Object)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- routeValues
- Object
Oggetto che contiene i parametri per una route. I parametri vengono recuperati tramite reflection esaminando le proprietà dell'oggetto. Questo oggetto viene creato, in genere, usando la sintassi dell'inizializzatore di oggetto.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
- htmlAttributes
- Object
Oggetto che contiene gli attributi HTML da impostare per l'elemento.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions, IDictionary<String,Object>)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- routeValues
- RouteValueDictionary
Oggetto che contiene i parametri per una route.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
- htmlAttributes
- IDictionary<String,Object>
Oggetto che contiene gli attributi HTML da impostare per l'elemento.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, String, String, AjaxOptions)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- controllerName
- String
Nome del controller.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, String, Object, AjaxOptions)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- routeValues
- Object
Oggetto che contiene i parametri per una route. I parametri vengono recuperati tramite reflection esaminando le proprietà dell'oggetto. Questo oggetto viene creato, in genere, usando la sintassi dell'inizializzatore di oggetto.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- routeValues
- RouteValueDictionary
Oggetto che contiene i parametri per una route.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, String, AjaxOptions)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- actionName
- String
Nome del metodo di azione che gestirà la richiesta.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
Restituisce
Tag di modulo> di apertura<.
Si applica a
BeginForm(AjaxHelper, AjaxOptions)
Scrive un tag di modulo> di apertura <nella risposta.
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
Parametri
- ajaxHelper
- AjaxHelper
Helper AJAX.
- ajaxOptions
- AjaxOptions
Oggetto che fornisce le opzioni per la richiesta asincrona.
Restituisce
Tag di modulo> di apertura<.
Si applica a
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per