AjaxExtensions.BeginForm 方法

定義

多載

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

將開啟 < 的表單 > 標籤寫入回應。

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

將開啟 < 的表單 > 標籤寫入回應。

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

將開啟 < 的表單 > 標籤寫入回應。

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

將開啟 < 的表單 > 標籤寫入回應。

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

將開啟 < 的表單 > 標籤寫入回應。

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

將開啟 < 的表單 > 標籤寫入回應。

BeginForm(AjaxHelper, String, String, AjaxOptions)

將開啟 < 的表單 > 標籤寫入回應。

BeginForm(AjaxHelper, String, Object, AjaxOptions)

將開啟 < 的表單 > 標籤寫入回應。

BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)

將開啟 < 的表單 > 標籤寫入回應。

BeginForm(AjaxHelper, String, AjaxOptions)

將開啟 < 的表單 > 標籤寫入回應。

BeginForm(AjaxHelper, AjaxOptions)

將開啟 < 的表單 > 標籤寫入回應。

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

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

controllerName
String

控制器的名稱。

routeValues
Object

包含路徑參數的物件。 這些參數是藉由檢查物件之屬性,透過反映所擷取而來。 此物件通常是使用物件初始設定式語法來建立。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

傳回

開啟 < 的表單 > 標籤。

適用於

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

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

controllerName
String

控制器的名稱。

routeValues
RouteValueDictionary

包含路徑參數的物件。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

htmlAttributes
IDictionary<String,Object>

物件,包含要針對項目設定的 HTML 屬性。

傳回

開啟 < 的表單 > 標籤。

適用於

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

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

controllerName
String

控制器的名稱。

routeValues
Object

包含路徑參數的物件。 這些參數是藉由檢查物件之屬性,透過反映所擷取而來。 此物件通常是使用物件初始設定式語法來建立。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

htmlAttributes
Object

物件,包含要針對項目設定的 HTML 屬性。

傳回

開啟 < 的表單 > 標籤。

適用於

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

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

controllerName
String

控制器的名稱。

routeValues
RouteValueDictionary

包含路徑參數的物件。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

傳回

開啟 < 的表單 > 標籤。

適用於

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

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

routeValues
Object

包含路徑參數的物件。 這些參數是藉由檢查物件之屬性,透過反映所擷取而來。 此物件通常是使用物件初始設定式語法來建立。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

htmlAttributes
Object

物件,包含要針對項目設定的 HTML 屬性。

傳回

開啟 < 的表單 > 標籤。

適用於

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

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

routeValues
RouteValueDictionary

包含路徑參數的物件。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

htmlAttributes
IDictionary<String,Object>

一項物件,該物件包含要針對項目設定的 HTML 屬性。

傳回

開啟 < 的表單 > 標籤。

適用於

BeginForm(AjaxHelper, String, String, AjaxOptions)

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

controllerName
String

控制器的名稱。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

傳回

開啟 < 的表單 > 標籤。

適用於

BeginForm(AjaxHelper, String, Object, AjaxOptions)

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

routeValues
Object

包含路徑參數的物件。 這些參數是藉由檢查物件之屬性,透過反映所擷取而來。 此物件通常是使用物件初始設定式語法來建立。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

傳回

開啟 < 的表單 > 標籤。

適用於

BeginForm(AjaxHelper, String, RouteValueDictionary, AjaxOptions)

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

routeValues
RouteValueDictionary

包含路徑參數的物件。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

傳回

開啟 < 的表單 > 標籤。

適用於

BeginForm(AjaxHelper, String, AjaxOptions)

將開啟 < 的表單 > 標籤寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

actionName
String

處理要求之動作方法的名稱。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

傳回

開啟 < 的表單 > 標籤。

適用於

BeginForm(AjaxHelper, AjaxOptions)

將開頭 < 表單 > 標記寫入回應。

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

參數

ajaxHelper
AjaxHelper

AJAX Helper。

ajaxOptions
AjaxOptions

物件,提供非同步要求的選項。

傳回

開啟 < 的表單 > 標籤。

適用於