how do you pass in a collection to an MVC 2 partial view?
- by femi
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