Skip to main content
Home Forums Silverlight Design Designing with Silverlight How to refresh / update a silverlight tree partially with out complete refresh of tree?
3 replies. Latest Post by Mog Liang - MSFT on November 2, 2009.
(0)
jaimalleshk
Member
0 points
2 Posts
10-29-2009 3:43 AM |
Hi All,
How to refresh / update a silverlight tree partially with out complete refresh of tree?
Can we just refresh a particular node and its children only in silverlight tree? At this time I am refreshing the whole tree to show the changes.
Thanks,
Jai
bharathk...
280 points
51 Posts
10-29-2009 4:34 AM |
hai jai,
Try this link
http://www.silverlightshow.net/items/Using-the-TreeView-control-in-Silverlight-2.aspx
http://alpascual.com/blog/silverlight-treeview-issue-cannot-set-a-checkbox-to-ischeck-true-inside-a-treeview/
10-29-2009 12:36 PM |
Hi Bharath,
Thanks for reply. I dont think it answers the question. There is no problem in creating the tree. I just want to do partial update ( refresh a particular node and its children) and not whole treeview.
Mog Lian...
All-Star
16009 points
1,553 Posts
11-02-2009 11:01 PM |
Hi,
Can you describe the problem you encountered? What do you mean "refresh"? If you mean update the elements layout, the silverlight's layout implementation is, when any element size changed, the whole visual tree elements will got notification, however, not all elements need update layout when got notified, although they pop Layoutchanged event as well. For details about silverlight layout system, please check this article
http://msdn.microsoft.com/en-us/library/cc645025(VS.95).aspx