I use VirtualQueryableCollectionView.ItemsLoading together with asynchronous service. I use RadGridView and RadDataPager.
Everything looks fine until user click pager faster than my service response. If service is slow then VirtualQueryableCollectionView.Load is called later than user clicks on pager again.
When my service call finishes (for old page 1 -> Load is made for items on page 1) no ItemsLoading is fired for page 2. Even user see already page 2 on the screen no one asked for page 2.
I tried to use Q1 2011 SP1, but does not work as well.
Bellow is a source which simulates slow service by right click. Run the code (RadGridView and RadDataPager are bind to Groups). If you right click (simulation of service response) before changing the page then OK. But if you first change the page and just then right click (service response for old page) then no one asks for just shown page.
What is a right usage in this case?
Code looks like this: