RadTreeview and Accordion

3 posts, 0 answers
  1. MARIE
    MARIE avatar
    19 posts
    Member since:
    Mar 2013

    Posted 18 Mar 2014 Link to this post


    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

  2. Martin Ivanov
    Martin Ivanov avatar
    1452 posts

    Posted 21 Mar 2014 Link to this post

    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​.


    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.

  3. MARIE
    MARIE avatar
    19 posts
    Member since:
    Mar 2013

    Posted 24 Mar 2014 in reply to Martin Ivanov Link to this post

    Thank you for your answer. I will try it and give you a feed back.
Back to Top