如何设置selected = true并禁用此单选按钮 %= Html.RadioButtonFor(m =m.AddToLevel ,new {id = "rdSameas" }) % 第二个参数是选中的值:true: %= Html.RadioButtonFor(m = m.AddToLevel, true, new { id = "rdSameas", disabled =
<%= Html.RadioButtonFor(m =>m.AddToLevel ,new {id = "rdSameas" }) %>第二个参数是选中的值:true:
<%= Html.RadioButtonFor(m => m.AddToLevel, true, new { id = "rdSameas", disabled = "disabled"}) %>