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

Performance Issue with Extended Selection Mode

3 Answers 61 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Samuel
Top achievements
Rank 1
Samuel asked on 17 Nov 2010, 10:22 PM
Hi,
The treeview doesn't handle selecting multiple items well.

I downloaded the source for the "1 Million Items" demo, changed the selection mode to "Extended", and it crashes when trying to select hundreds of items simultaneously (using shift + click).

Virtualization is turned on, but apparently it doesn't know how to virtualize in this case.

Please advise.


3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 22 Nov 2010, 08:01 PM
Hello Samuel,

Actually the tree view internally stores some of the selected items (not all). If huge amount of records are selected then there could be fair amount of selected items stored internally in order to maintain certain functionality. Also, selected items require additional processing when they enter or leave the visual area of the screen. So, bigger visible area implies more selected items to be rendered. This could bring to performance issues while scrolling. Do you really need to select so many items?

Regards,
Hristo
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Samuel
Top achievements
Rank 1
answered on 23 Nov 2010, 04:30 PM
Yes, I require selecting a several thousand rows. I am using this in a drag/drop scenerio with two treeviews. User is selecting from a list of several thousand names.

Please advise.
Thanks
0
Hristo
Telerik team
answered on 24 Nov 2010, 12:47 PM
Hello Samuel,

Selecting such amount of items is going to slow down the performance. There is already a record in our public issue tracking system about similar issue: http://www.telerik.com/support/pits.aspx#/public/silverlight/2510 

You  can vote for it in order to increase its priority. Meanwhile, is it possible to select not expanded nodes and reduce the number of selected items? Take in mind that dragging and dropping thousands of records may also introduce some performance issues.

Please let us know if you need more info or help about our products.

Kind regards,
Hristo
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
TreeView
Asked by
Samuel
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Samuel
Top achievements
Rank 1
Share this question
or