asp.net MVC DisplayTemplates and EditorTemplate naming convention
- by Simon G
Hi,
I've got a couple of questions about the naming convention for the DisplayTemplates and EditorTemplates in MVC 2.
If for example I have a customer object with a child list of account how do I:
Create a display template for the list of accounts, what is the file called?
When I'm doing a foreach( var c in Model.Accounts ) how do I call a…