This is a migrated thread and some comments may be shown as answers.

Grouping Slows Down

1 Answer 100 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
heavywoody
Top achievements
Rank 1
heavywoody asked on 26 Mar 2014, 09:55 PM
I have a RadListBox that I am loading about 3000 items into.  I am using a CollectionViewSource so that I can group on a certain attribute of the object.  It takes like a minute to load the items into the Listbox.  I know it takes a hit with the grouping.  Is there anything I can do to speed it up?  Does RadListbox virtualization get turned off on grouping just like the Microsoft control? Because even after things are loaded, just scrolling up and down is slow.  The who control doesn't run well.

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 27 Mar 2014, 11:55 AM
Hi Christian,

Both RadListBox and ListBox controls derive from ItemsControl and share the common grouping functionality. The ItemsControl is the base class which has build-in integration with CollectionViewSource and both controls are slow because the ItemsControl is slow when grouped.

I could suggest using TreeListView control if possible. The control's documentation ca be found here - http://www.telerik.com/help/wpf/radtreelistview-overview.html

Hope this helps.

Regards,
George
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
ListBox
Asked by
heavywoody
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or