我有一个类似于此的HTML表单。-- More HTML of different section of the overall form -->
{ name: "person-lastname", value:input}
我只是在寻找一个JavaScript或jQuery解决方案来创建一个基于多个同
具有相同名称控制器的两个不同区域:AdminAreaRegistration.cs
UserAreaRegistration.cs
我想有一个表单,张贴到以下方法: new { area = "", model = this.Model, returnUrl = Request.QueryString["returnUrl"] },
在我的表单中,我有一个禁用的dropdown控件,它的值在提交过程中不会传递给Model,因为它被禁用了。我尝试使用隐藏字段,如下所示
@Html.DropDownListFor(model => model.DepartmentID, new List<SelectListItem> { new SelectListItem"Item 1", Value = "1" }, new SelectListItem { Text = "Item 2", Value = "2&