TreeView question for ASP.NET 2.0

E

Eric

I'm using the TreeView control in Selection mode. However, leaf nodes that
have been selected show in the browser as a different color than ones that
have not been selected just like HTML links are displayed differently if
they are in your cache/history. Is there a way to stop this? I want the
links to always display the same, with no color change once they have been
selected.

Thanks,
Eric
 
G

Guest

Hello Eric,

You can create a css class with the color you want and specify that class in
the LeafNodeStyle.CssClass property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top