Grid Rebinds when changing pages

2 posts, 0 answers
  1. Jeff
    Jeff avatar
    38 posts
    Member since:
    Jan 2008

    Posted 23 Jan 2010 Link to this post

    I have a simple grid with paging that displays a few hundred records that are pulled from OnNeedDataSource. There is also a search box at the top of the page that when used retrieves a subset of the records. That all works well.

    The issue develops if the search returns enough records that they span more than 1 page. The items that come back are correct and the number of pages are correct but if you click to change pages the grid rebinds and the second page is back to the full record set.

    Is there a way to not have the grid rebind on a page switch in this situation?

    thanks
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 28 Jan 2010 Link to this post

    Hello Jeff,

    Indeed, a page operation is one which would cause a rebind in the grid control. However, under normal circumstances, the control should properly preserve its paging attributes. However, I suspect that there is an issue with the way the control is databound. To further investigate the problem, you can open a formal support ticket, and send us a small working project, demonstrating the issue at hand. We will review it locally, and advise you further.

    Regards,
    Yavor
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top