Telerik blogs

Download the sample project

In the previous two posts I explained the e basic usage and the support for dynamic sorting/filtering and grouping in RadJumpList. Now it is time(1) to see how the control behaves with large data sets. It is unlikely that in an average Windows Phone 7 application you will need to show more that 1,000-2,000 items, but we decided to test the performance under extreme conditions with a large set of 10,000 items. The setup of the example is pretty simple - we are generating 5k items on the fly and them bind the JumpList control to the data set. In the sample you can see the scrolling performance of the control with the large data. Then you can sort and group the data using the UI provided. I encourage you to do this not on the emulator, but on a real device - this is where the control really shines :-).

WP7 JumpList with Large data set

In regards to implementation there is one very important thing that should be mentioned. When you want to get the maximum performance from our data engine it is advisable to use the GenericSortDescriptor, GenericGroupDescriptor and GenericFilterDescriptor (instead of the PropertySortDescriptor and PropertyGroupDescriptor) as shown in the sample code below:

Sort descriptor:

RadJumpList1.SortDescriptors.Add(new GenericSortDescriptor<DummyData, int>(a => a.Index));


Group descriptor: 

RadJumpList1.GroupDescriptors.Add(new GenericGroupDescriptor<DummyData, string>(a => a.Title));


Filter descriptor:

GenericFilterDescriptor<Movie> filterDescriptor = new GenericFilterDescriptor<Movie>(delegate(Movie a)   
   return a.Year > 2009;   


Download the sample project - and test it on your WP7 device. Please let us know what observations you have when using the control in your application. 

About the Author

Valio Stoychev

Valentin Stoychev (@ValioStoychev) for long has been part of Telerik and worked on almost every UI suite that came out of Telerik. Valio now works as a Product Manager and strives to make every customer a successful customer.



Comments are disabled in preview mode.