Html.CheckBoxFor() checked problem in asp.net mvc 2

Posted by loviji on Stack Overflow See other posts from Stack Overflow or by loviji
Published on 2010-04-12T00:05:02Z Indexed on 2010/04/12 0:13 UTC
Read the original article Hit count: 1523

Hello, I met a problem with Html.CheckBoxFor() method. In my EditPage checkbox is not checked.

<%= Html.CheckBoxFor(model => model.KRead.Value)%>

How can I do checked ckeckbox element, if model.KRead.Value==true? thanks

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about asp.net-mvc