J_Dubs

J_Dubs J_Dubs

Niner since 2011

Comments

  • mvcConf 2 - Brad Wilson: Advanced MVC 3

     
    How would you manage a dictionary that would have different value types?

    For example, let's say that I want to create many forms that could contain strings, ints, dates, drop-down lists, would I be able to use this approach (maybe using some abstract value type)?  
    Perhaps adding a TemplateHint to each property would help - I'm not sure?

    Any advice here on the best approach?

    Thanks.