在使用MVC Html.DropDownList时,我需要设置什么选项才能只读下拉框?
我尝试过......
Html.DropDownList("Types", Model.Types, new { _Enabled = "false" })
......沿着这条线路有很多不同的东西; 唉,没有快乐!
我认为这将是一个简单的.....它可能是!
asp.net-mvc
asp.net-mvc ×1