how do you pass in a collection to an MVC 2 partial view?
Posted
by femi
on Stack Overflow
See other posts from Stack Overflow
or by femi
Published on 2010-05-05T22:15:43Z
Indexed on
2010/05/05
22:18 UTC
Read the original article
Hit count: 229
hello ,
how do you pass in a collection to an MVC 2 partial view? I saw an example where they used the syntax;
<% Html.RenderPartial("QuestionPartial", question); %>
this passes in only ONE question object..
what if i want to pass in several questions into the partial view and , say, i want to list them out...how would i pass in SEVERAL questions?
thanks
© Stack Overflow or respective owner