I am using the radTileview that has lots of child controls in each tileitem . The itemsource of the tileview can be potentially very large ( in millions). If I try to load all the tiles, the ui hangs and it takes too long. So what I want to do is read the first 10 data items for the first 10 tileitems from my datasource and show it on the screen and then in the background keep populating the datasource model ( which is an observable collection ). As the datasource gets populated, the tileview should refresh and show the new items.
I tried the following
1. Creating the data source on a background thread, but this does not refresh the ui
2. Using the dispatcherTimer, but the behaviour is quite random. It refreshes the first lot of data and then the screen blanks out
I have set the following properties on the tileview
Please can you suggest some best practises and I would be very obliged if you can send me some sample / example code. The tile view
Many thanks,
Subarna
I tried the following
1. Creating the data source on a background thread, but this does not refresh the ui
2. Using the dispatcherTimer, but the behaviour is quite random. It refreshes the first lot of data and then the screen blanks out
I have set the following properties on the tileview
IsAutoScrollingEnabled
="True" IsVirtualizing="True"
Please can you suggest some best practises and I would be very obliged if you can send me some sample / example code. The tile view
Many thanks,
Subarna