This is a migrated thread and some comments may be shown as answers.
TreeViewPanel virtualization BringItemIntoView
1 Answer 44 Views
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 11 Jul 2011, 02:51 PM
The BringIntoView documentation http://www.telerik.com/help/silverlight/radtreeview-features-treeviewitem-bring-into-view-support.html 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"?

Thanks!

jd

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 14 Jul 2011, 07:43 AM
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!

Asked by
Jeremy
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or