Odball Asp.Net Treeview / CSS problem RRS feed

  • Question

  • Hi guys,

    Have an issue with an asp.net Treeview control, for which some nodes are being populated on demand. I have 2 styles defined, one for SelectedNodeStyle-CssClass and one for NodeStyle-CssClass 

    The problem I have is that when rendered, the nodes have an additional style added, so rather than class="standardNode", I'm actually getting class="standardNode ASPNet_Treeview2"..... 

    This in and of itself isn't a huge issue - the nodes "look ok"....however, some are populated on demand when expanded - for the newly added nodes, the additional style is omitted, meaning I end up with class="standardNode"......so my nodes look different...

    I've googled myself dry on this one - anybody have any clues or ideas for a workaround - come on, don't be shy - any idea will be considered!

    Tuesday, September 6, 2011 1:49 PM

All replies

  • You should try the asp.net forums.
    Jeff Sanders (MSFT)
    Wednesday, September 7, 2011 1:26 PM