正文Kendo DropDownListFor值传不回去的小坑IP云V管理员/2022-11-29/0 阅读 11/29小程序:扫一扫查出行【扫一扫了解最新限行尾号】复制小程序 做项目时,在KendoWindow弹框里面写了个表单提交,不小心把AreaId 下拉框设置了Name为“OrderAreaId”。在后台接收不到AreaId的参数。后来才发现是Name的设置强行把AreaId这个名字覆盖,下拉框的值赋给了OrderAreaId,而不是AreaId。所以在写时,不要轻易乱写Name属性。 错误写法 正确写法