我无法将默认单选按钮设置为“已选中”!我使用的是@Html.RadioButtonFor:
<div id="private-user">
    @Html.RadioButtonFor(m => m.UserType, "type1", new { @class="type-radio" , **@Checked="checked"** }) 1
</div>
<div id="proff-user">
    @Html.RadioButtonFor(m => m.UserType, "type2", new { @class="type-radio" }) 2
</div>是否可以使用@Html.RadioButtonFor将单选按钮设置为选中状态?
Thx
发布于 2012-09-15 21:20:20
https://stackoverflow.com/questions/12437563
复制相似问题