Hello,
I'm using the TreeView control in ASP.NET 2.0 to display some data. I'm finding some strange formatting issues, when using the "HoverNode" styles. The hover styling does not get applied nodes that were loaded on demand.
This is my code
"TreeView"
EnableClientScript="true"
PopulateNodesFromClient="true"
OnTreeNodePopulate="PopulateNode"
runat="server"
ShowLines="True"
Font-Names="Tahoma"
Font-Size="11px"
ForeColor="Black"
NodeStyle-BorderColor="Pink"
NodeStyle-BorderStyle="Solid"
NodeStyle-BorderWidth="1px"
HoverNodeStyle-BackColor="Green"
HoverNodeStyle-BorderWidth="1px"
HoverNodeStyle-BorderStyle="Solid"
HoverNodeStyle-BorderColor="Red">
"true" value="1" Text="root node label" Expanded="false">
However, when rendering this visually, only the root node itself gets the proper styling. Child nodes only have the green background (and retain the pink border color). Underlining seems to suffer from the same problem.
Has anyone seen something like this, hopefully I am just missing something obvious.
Regards, Svend