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

How to expand fullpath of a node, after adding a child, to show child is added here

0 Answers 38 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
suraj
Top achievements
Rank 1
suraj asked on 12 Dec 2008, 05:16 AM
hello,

I am using treeview control. with load on demand feature and i kept ExpandMode=ServerSide,

when i add child to perticular node (from context menu one dialog is opening to add child node; after closing of dialog treeviev is getting refreshed ), i want only that branch should get expanded. (I want to expand the nodes which are in fullPath property of added node's parent)

like following figure Suppose I have added node C. I want A and B only get expanded so that C is visible. and do not want E to be expanded. kindly provide some solution.


_A
    | __B
    |       |_C
    |
    |__E
          |_F   

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
suraj
Top achievements
Rank 1
Share this question
or