【发布时间】:2016-02-29 16:57:10
【问题描述】:
我的 MVC 应用程序当前有一个 Html.Begin 表单以提交表单。现在有一个嵌套的 BeginForm 以显示单选按钮列表。我的问题是当我点击保存时,它没有点击我的 HttpPost 操作方法。我该如何解决这个问题?
谢谢。
【问题讨论】:
-
Forms cannot contain other forms - 您生成的标记无效。
标签: c# asp.net-mvc html-helper html.beginform