Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

TreeView root node image

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hchintapalli@partners.org - 28 Sep 2007 21:03 GMT
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.
Alexey Smirnov - 29 Sep 2007 09:29 GMT
On Sep 28, 10:03 pm, hchintapa...@partners.org wrote:
> Hi,
>
[quoted text clipped - 6 lines]
> Appreciate your help. Thanks,
> Harish.

Use RootNodeStyle
http://dotnetjunkies.com/QuickStartv20/aspnet/doc/ctrlref/navigation/treeview.aspx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.