TreeViewPanel virtualization BringItemIntoView

2 posts, 1 answers
  1. Jeremy
    Jeremy avatar
    9 posts
    Member since:
    May 2009

    Posted 11 Jul 2011 Link to this post

    The BringIntoView documentation indicates the treeview's BringItemIntoView method only works when the item's corresponding item container has already been generated.

    My treeviewpanel is virtualizing using recycling mode:
    <telerik:RadTreeView telerikTreeView:TreeViewPanel.IsVirtualizing="True" telerikTreeView:TreeViewPanel.VirtualizationMode="Recycling">

    What do I need to do to create a virtualization compatible "BringItemIntoView"?


  2. Answer
    Petar Mladenov
    Petar Mladenov avatar
    3147 posts

    Posted 14 Jul 2011 Link to this post

    Hi Jeremy,

    You can use the BringPathIntoView method of RadTreeView which will work even if the Virtualization is turned on and the containers are not created yet. You can examine this blog post describing this approach. Let us know if you need further assistance.

    All the best,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top