With a single input, the system cannot differentiate between "this checkbox was rendered but the user chose not to check it" and "this checkbox was never rendered". This is a very common solution, for the system to post back either two values ("true" and "false")
if it's checked, or one value (just "false") if it's not, and only look at the first value in the series.
Marked as answer by Eilon on Aug 18, 2009 04:43 PM
bradwils
Contributor
5779 Points
691 Posts
Microsoft
Re: Html.Checkbox does weird stuff
May 21, 2009 03:13 PM|LINK