Silverlight Domain Data Source + Paging : AutoLoad = "False"

470 Views Asked by At

I want to use a DataPager with a DataGrid and DomainDataSource.

I would like to have future pages cache ahead of time. When the user gets, say, five pages off from the last page, I would like another XXXX pages to load. However, I don't want the grid to auto-refresh when parameters (bound to user controls) change, so I have autoload set to false...

Is there a good way to make this work?

Thanks!

1

There are 1 best solutions below

0
Kyle McClellan On

I think you're looking for the LoadSize property. I don't remember the specifics, but it allows you to load multiple pages at a time. For instance, if you set PageSize to 5 and LoadSize to 25, you'll be loading 5 pages of data at a time.