Share via


AjaxExtensions.BeginForm Método

Definição

Sobrecargas

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

Grava uma marca de formulário> de abertura <na resposta.

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

Grava uma marca de formulário> de abertura <na resposta.

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

Grava uma marca de formulário> de abertura <na resposta.

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

Grava uma marca de formulário> de abertura <na resposta.

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

Grava uma marca de formulário> de abertura <na resposta.

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

Grava uma marca de formulário> de abertura <na resposta.

BeginForm(AjaxHelper, String, String, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

BeginForm(AjaxHelper, String, Object, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

BeginForm(AjaxHelper, String, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

BeginForm(AjaxHelper, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

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

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

controllerName
String

O nome do controlador.

routeValues
Object

Um objeto que contém os parâmetros para uma rota. Os parâmetros são recuperados por meio de reflexo, examinando-se as propriedades do objeto. Este objeto é tipicamente criado usando-se a sintaxe do inicializador de objeto.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

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

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

controllerName
String

O nome do controlador.

routeValues
RouteValueDictionary

Um objeto que contém os parâmetros para uma rota.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

htmlAttributes
IDictionary<String,Object>

Um objeto que contém os atributos HTML a serem definidos para o elemento .

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

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

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

controllerName
String

O nome do controlador.

routeValues
Object

Um objeto que contém os parâmetros para uma rota. Os parâmetros são recuperados por meio de reflexo, examinando-se as propriedades do objeto. Este objeto é tipicamente criado usando-se a sintaxe do inicializador de objeto.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

htmlAttributes
Object

Um objeto que contém os atributos HTML a serem definidos para o elemento .

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

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

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

controllerName
String

O nome do controlador.

routeValues
RouteValueDictionary

Um objeto que contém os parâmetros para uma rota.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

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

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

routeValues
Object

Um objeto que contém os parâmetros para uma rota. Os parâmetros são recuperados por meio de reflexo, examinando-se as propriedades do objeto. Este objeto é tipicamente criado usando-se a sintaxe do inicializador de objeto.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

htmlAttributes
Object

Um objeto que contém os atributos HTML a serem definidos para o elemento .

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

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

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

routeValues
RouteValueDictionary

Um objeto que contém os parâmetros para uma rota.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

htmlAttributes
IDictionary<String,Object>

Um objeto que contém os atributos HTML a serem definidos para o elemento.

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

BeginForm(AjaxHelper, String, String, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

controllerName
String

O nome do controlador.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

BeginForm(AjaxHelper, String, Object, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

routeValues
Object

Um objeto que contém os parâmetros para uma rota. Os parâmetros são recuperados por meio de reflexo, examinando-se as propriedades do objeto. Este objeto é tipicamente criado usando-se a sintaxe do inicializador de objeto.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

routeValues
RouteValueDictionary

Um objeto que contém os parâmetros para uma rota.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

BeginForm(AjaxHelper, String, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

actionName
String

O nome do método de ação que tratará a solicitação.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a

BeginForm(AjaxHelper, AjaxOptions)

Grava uma marca de formulário> de abertura <na resposta.

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

Parâmetros

ajaxHelper
AjaxHelper

O auxiliar AJAX.

ajaxOptions
AjaxOptions

Um objeto que fornece opções para a solicitação assíncrona.

Retornos

Uma marca de formulário> de abertura<.

Aplica-se a