Hi,
I am trying to use RadGrid with paging, using LINQ for Entities to do paging. I am using a respository method to do this:
The LINQ part works just fine, but when I do this, the pager on the Grid is no longer available- assuming that all the records are displayed. Is there anyway to make sure the pager ribbon is still visible, and has the correct number of pages links? Is there a way to use LINQDataSource (either Microsoft's or Telerik), which makes paging easier and much more efficient?
Thanks,
Steve
I am trying to use RadGrid with paging, using LINQ for Entities to do paging. I am using a respository method to do this:
public IEnumerable<TEntity> GetAllPaged(int page, int pageSize) { return _objectSet.AsEnumerable().Skip(pageSize).Take(page); }
The LINQ part works just fine, but when I do this, the pager on the Grid is no longer available- assuming that all the records are displayed. Is there anyway to make sure the pager ribbon is still visible, and has the correct number of pages links? Is there a way to use LINQDataSource (either Microsoft's or Telerik), which makes paging easier and much more efficient?
Thanks,
Steve