ASP.NET 2.0, TreeView Control and Styles

B

bors

Hi everybody!
I have TreeView and I want to mark parent node where his child is
beeing selected. Other words - I'm klicking on some child node and I
want to show that this node AND his parent ist selected. Is it
possible? How can I change the style of parent node programmatically?

Thanks a lot!
bors
 
G

Guest

On the Skin add a skin for the TreeView

example:
<asp:TreeView
Font-Names="Verdana"
ForeColor="#5555dd"
Font-Bold="true"
Font-Size="8pt"
ParentNodeStyle-ForeColor="#1111dd"
ParentNodeStyle-Font-Bold="true"
NodeStyle-HorizontalPadding="5"
SelectedNodeStyle-Font-UnderLine="true"
runat="server"
/>

Play with Skins, make life a little easier.

Hope this helps
Al
 

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,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top