469,608 Members | 2,462 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,608 developers. It's quick & easy.

TreeView root node image

Hi,

How can I make root node of a TreeView control to have different
expanded and collapsed images from the rest of the tree? If I use
"ExpandImageUrl" and "CollapseImageUrl" it applies to all nodes
including the root. And if I use "RootNodeStyle-ImageUrl" the image
stays the same even if expand or collapse the root node.

Appreciate your help. Thanks,
Harish.

Sep 28 '07 #1
1 3067
On Sep 28, 10:03 pm, hchintapa...@partners.org wrote:
Hi,

How can I make root node of a TreeView control to have different
expanded and collapsed images from the rest of the tree? If I use
"ExpandImageUrl" and "CollapseImageUrl" it applies to all nodes
including the root. And if I use "RootNodeStyle-ImageUrl" the image
stays the same even if expand or collapse the root node.

Appreciate your help. Thanks,
Harish.
Use RootNodeStyle
http://dotnetjunkies.com/QuickStartv.../treeview.aspx

Sep 29 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by EggHead | last post: by
4 posts views Thread by meh | last post: by
6 posts views Thread by L.M | last post: by
7 posts views Thread by amruta | last post: by
11 posts views Thread by pbd22 | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.