Question

So I am trying to get a list to incrementally load for windows desktop. I have this on the GridView:

IncrementalLoadingTrigger="Edge"
IncrementalLoadingThreshold="1.5"

I listen for the events and it loads the next page. The problem is that when you move the page just a little more, it loads up that and the next like 5-8 pages of results without stopping. This causes a huge hit in performance. Anyone know how to fix this? Any good tutorials you know of for this.

Was it helpful?

Solution 2

I figured out that the previous developer was inserting the new items in himself and not using collectionchanged events to handle what happens. This caused massive slow downs when loading more listings instead of adding one at a time and handling the events more smoothly. I used this as an example to fix this: Here

OTHER TIPS

IIRC you can just ignore the new request while the previous one is still processing in the virtualized items source and wait for that to finish before you start accepting new requests for more data.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top