Hi friends,
I am beginner in MVC
In MVC3 application , How to pass multiple list to view in mvc3 or how to populate multiple webgrid in single view with different list ?
Thanks in advance.
Regards
Rakesh
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted May 15, 2013, 11:45 PM
as per my knowledge you can pass dingle model to view in MVC.
but in this case you can create custom model which is containing collection of other entities.
example
public class DataTest
{
List
List
List
}
here DataTest class containing 3 list object that can be pass to the different grid on same view
hope this will help you.