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

RadTreeview and Accordion

2 Answers 24 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
MARIE
Top achievements
Rank 1
MARIE asked on 18 Mar 2014, 01:21 PM
Hello,

In our Out Of Browser Silverlight application, we are using the Accordion component from the Microsoft Silverlight Toolkit. In one AccordionItem, we have put a
RadTreeview. By default, the AccordionItem who contains the RadTreeview is open.

Our problem is, when we click on the AccordionItem to collapse it, if the treeview have too much elements, the application seems to be frozen during a moment before the AccordionItem is collapse. If we have 150 elements in the treeview, there is no problem. But when the number of elements is higher (800 for example), we see the problem above.

Another problem (maybe the same) is when we want to extend the window. If the AccordionItem is collapse or if the RadTreeview does not contains a lot of elements, expansion is instantaneous. But if the Treeview contains more elements and the AccordionItem is open, the application is frozen during a moment (with 900 elements, the application is frozen during 30 seconds).

Do you have an explication for this problem? What can we do to don’t have a freeze?

I precise that we use custom style, data binding on the nodes, and the IsVirtualizing property of the treeview is set to True.

Thanks’ in advance

Hervé 

2 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 21 Mar 2014, 03:11 PM
Hi Marie,

It seems this is a bug. I logged it in our feedback portal and updated your Telerik points as a small sign of appreciation.

However, to workaround this issue you can use our RadPanelBar which can be used as an accordion. You can take a look at the Accordion demo which demonstrates such implementation. Keep in mind that by default the panel bar can expand multiple items and if you want to change this behavior you can set its ExpandMode property to Single.

Also note that the UI Virtualization works only when you limit the RadTreeView with Height / MaxHeight​.

Regards,
Martin
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.

 
0
MARIE
Top achievements
Rank 1
answered on 24 Mar 2014, 03:10 PM
Thank you for your answer. I will try it and give you a feed back.
Tags
TreeView
Asked by
MARIE
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
MARIE
Top achievements
Rank 1
Share this question
or