Bind to a Dictionary of Lists of Lists of Bools with a strongly-typed MVC view by using Checkboxes
问题 I'm using MVC 4, .Net 4, and Visual Studio 2012. I'm trying to use a fairly complex model with one of my views, and I'm having serious trouble getting it to bind properly. The model wraps a Dictionary with integer Keys, and Values that are Lists of Lists of bools. Basically, a search was done on items indicated by the integer, each item had several search terms, and for each of those terms we have a list of results. I display the results on a page, and have a checkbox next to each result. For