ASP.NET MVC 2 : How to call DisplayFor for each item in a collection ?

Posted by user137348 on Stack Overflow See other posts from Stack Overflow or by user137348
Published on 2010-04-13T14:48:32Z Indexed on 2010/04/13 14:53 UTC
Read the original article Hit count: 265

Filed under:
|

I have property in my model which is a collection type (List). I'd like to call for each item in this collection Html.DisplayFor or Html.EditorFor. How can I do this ?

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about templates