AI OnAI Off
What's the data source? In your controller add an action method that takes a few parameters for start index, size etc, then you can use the LINQ extension methods Skip and Take to get back what you need from your data source.
ActionResult Search(int startIndex, int pageSize)
{ var result = datasource.Skip(startIndex).Take(pageSize);
}
Frederik
I can't see any difference compare to how you implement it in the standard MVC application.
Dear all,
I was wondering what is the best way to implement paging with EPiServer 7 using MVC?
Thank you in advance for your valuable help!
Daniel