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

GirdView Paging with asynchronous data

2 Answers 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael Benkel
Top achievements
Rank 1
Michael Benkel asked on 12 Mar 2010, 06:20 PM
Hi,

i just updated to version 2010.1.0309 and now have a problem with paging and asynchronous data loading. My Grid is bound to a QueryableCollectionView. I´m getting data via WCF service. The service always returns the number of rows to be shown (PageSize) and the amount of total rows (for pager). The first page is shown correct, but if i navigate to another page (2, 3, ...) the grid is empty.
Everything worked perfect with version 2010.1.0218, but doesn´t with version 2010.1.0309. It seems as if the grid now tries to get the correct "page" from the collection itself (like collection.Skip(X).Take(Y))?
Has there anything been changed? Or do you have an example with paging and loading data "page by page" via asynchronous service?

Let me know if you need more information.

Many thanks in advance and greetings from germany!

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 16 Mar 2010, 08:01 AM
Hello,

I've just updated the project from my blog post to our Q1 2010 binaries however everything worked fine on my end. Please check the attached example for reference.

Greetings,
Vlad
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.
0
Michael Benkel
Top achievements
Rank 1
answered on 17 Mar 2010, 02:31 PM
Hello,

thanks for your answer. It works. I just had a simple mistake in my datacontext.
I am still wondering why it worked with prior version...

Many thanks...
Tags
GridView
Asked by
Michael Benkel
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Michael Benkel
Top achievements
Rank 1
Share this question
or