The data source does not support server-side data paging

A simple ToList() on your result var should work.

Edit:
As explained in comments below my answer, the reason for the error is that the data source should implement ICollection. IEnumerable does not, when you do ToList() it converts it into a list which implements ICollection.

Leave a Comment