By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,086 Members | 1,460 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,086 IT Pros & Developers. It's quick & easy.

TreeView root node image

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.