I just noticed that Html.CheckBox("foo") generates 2 inputs instead of one, anybody knows why is this so ?

<input id="foo" name="foo" type="checkbox" value="true" />
<input name="foo" type="hidden" value="false" /> 

12 Answers
12

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *