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

Recycling RadTreeViewItems

1 Answer 34 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 01 Jul 2010, 12:24 PM
Hi,

I've got a complex tree building project that can't use data binding as the tree structure is created by a set of pluggable "TreeBuilders" that are supplied by my dev team and third parties.  The practical upshot of this is that I really need to not recreate all of the tree view items when I refresh the tree.

I've successfully been able to cache all of the components that I put in the header of the tree view item (these are also dynamically created) and that has improved performance a lot.  The problem is if I try to reuse the RadTreeViewItems themselves.

I've cleared out the tree's items, cleared all of the children of each of the items and verified that the structure is correct when I complete my refresh path - however the tree view only renders a part of the first tree view item and none of it's children.

As I say, if I recreate the tree view items, everything works fine.  I'm guessing that something somewhere is cached, is there anything I can do about this?

Regards

Mike

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 07 Jul 2010, 08:10 AM
Hi Mike,

Sorry for the late reply. We are not aware of such an issue in RadTreeView. Is it possible for you to isolate the problem in a separate application and send it to us so we can debug it. This way we will be better able to assist you.

On a side note, I'd like to inform you that we've just released an online tool that allows you to reduce the size of your Silverlight applications. For more information, please visit http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx

Kind regards,
Kiril Stanoev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
Mike
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or