This is a migrated thread and some comments may be shown as answers.

Grid Rebinds when changing pages

1 Answer 15 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 24 Jan 2010, 03:02 AM
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

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 28 Jan 2010, 07:07 AM
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.
Tags
Grid
Asked by
Jeff
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or