Thursday, January 22, 2009

Trying to Bind Form Elements in the View to a Dictionary in the Model with ASP.NET MVC

I've got a class that has, instead of statically typed properties, a dictionary that is used to store different values depending on what is needed for any given instance. public class Baz { public Baz() { Foo = new Dictionary { { "Bar", null } }; }  public IDictionary

No comments:

Post a Comment