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

Paged GridView, remove items without Rebind

1 Answer 23 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brian Pratt
Top achievements
Rank 1
Brian Pratt asked on 31 Mar 2010, 08:38 PM
I've got a GridView with 50+ pages of data.  On a timer I remove items from the collection that have fallen out of the rolling window (based on time).  If you are on the first page and an item rolls off, the page you are on gets smaller (there were usually 10 items per page, now there are 9 items).  It keeps getting smaller unless I do a GridView.Rebind().

We are using a collection that notifies of changes.  Inserts, updates work correctly.  Only removes act this way.

Rebind causes a noticeable flash of blank data, which looks bad.  Is there a way to re-page the data without rebinding?

Thanks,
Brian.

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 01 Apr 2010, 10:03 AM
Hello Brian Pratt,

Could you please open a support ticket and send us a sample project. We will need to see your code in order to understand what is going on.

All the best,
Ross
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Brian Pratt
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or