I am new to MVC3. I have a submit button on a form and I want to bind a model which has 2-3 nested object models with many properties inside.
I want to make a javascript that can dynamic insert a new \"EditorFor\" model, but i am having 2 problem.
How can I remove the default value that is added by default to the textboxes of non nullable properties when开发者_如何学C using the EditFor helper? I don\'t want that behavior
How can we access the model\'s property name when using EditorFor() with a template for value types, for instance like the one below for bool type?
I\'m using MVC 2, and the Html.EditorForModel() to allow me to display an editor for the model. I am using a model which looks something like this: