1

我想在不使用 mvc3 样式的情况下将复选框的可见性设置为 false。

@Html.CheckBoxFor(model => Model.Eng, new { @id = "chkEnergy1", @value = "true", @class = "chkEnergy",@visible=false }).I have given like this but its not working
4

1 回答 1

1
@Html.CheckBoxFor(model => Model.Eng, new { @id = "chkEnergy1", @value = "true", @class = "chkEnergy",@style = "display:none;" }).
于 2013-05-19T15:51:58.487 回答