How to create a CheckBoxListFor extension method in ASP.NET MVC?
Here is a strongly typed HtmlHelper for CheckBoxListFor that handles selected items as an array in your viewdata model. I chose not to wrapper the Html.CheckBox or Html.CheckBoxFor methods as I don’t want the hidden “false” fields in my checkbox lists. Please feel free to improve on this and repost 🙂 //View <%: Html.CheckBoxListFor(model => … Read more