In response to this answer… Access MVC3 Model properties from Javascript in the View I’d like to know how I can construct the data for the view model in that example dynamically, without having to hardcode. i.e. I’d like to be able to do model.Values.Add(…)
In response to this answer… Access MVC3 Model properties from Javascript in the View
Share
You can have a model that looks like this