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 display temple while in the foreach loop? When I doHtml.DisplayFor( x => x )
inside the foreachx
is the model and not in this casec
.
Thanks in advance.