Ben Foster 7/9/2012

CheckBox lists in ASP.NET MVC

Read Original

This technical article explains how to build a custom HTML Helper for ASP.NET MVC to generate checkbox lists, as there is no built-in solution. It covers the model setup with SelectList for available options and IEnumerable for selected items, demonstrates the view code, and provides a link to the open-source implementation on GitHub.

CheckBox lists in ASP.NET MVC

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week