1

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!

nosirrahcd
  • 1,467
  • 3
  • 18
  • 36

1 Answers1

1

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.

Kyle McClellan
  • 2,019
  • 1
  • 13
  • 8