在ASP.NET MVC4的Razor视图中,如何确保所有的单选按钮都默认不选中?即使在下面的代码中没有声明要选中其中的一个,MVC似乎还是会为我选中一个。
@Html.RadioButtonFor(model => model.test, true, new { id = "radio_test_True"}) Yes
@Html.RadioButtonFor(model => model.test, false, new { id = "radio_test_False"}) No
谢谢