Hi,
I want to transfer Collection Data (Row & column) from Controller to view in ASP.net MVC. What is the best Approach?
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.
Pradeep ShetPosted Jan 16, 2015, 4:48 AM
If you have Model collection you can, pass it as a parameter when calling View from action method.
Your view should be strongly type of type Model & use WebGrid control. It is easy to use & implement.
http://www.dotnet-tricks.com/Tutorial/mvc/GK2W110113-WebGrid-with-custom-paging-and-sorting-in-MVC4.html
Mark it as answered if it helped you.