asp.net mvc ajax.beginform,AjaxExtensions.BeginForm 方法 (System.Web.Mvc.Ajax) | Microsoft Docs

将一个开始的 < 窗体 > 标记写入响应。

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

static member BeginForm : System.Web.Mvc.AjaxHelper * string * string * System.Web.Routing.RouteValueDictionary * System.Web.Mvc.Ajax.AjaxOptions * System.Collections.Generic.IDictionary -> System.Web.Mvc.Html.MvcForm

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

AJAX 帮助器。

actionName

将处理请求的操作方法的名称。

controllerName

控制器的名称。

一个包含路由参数的对象。

ajaxOptions

提供异步请求选项的对象。

一个对象,该对象包含要为元素设置的 HTML 特性。

返回

开始的 < 窗体 > 标记。

适用于

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值