Treeview control styles

D

David

Hi,

using C# .net 1.1

I am using the treeview control but having problems setting the style.

The treeview has a cssClass but when I set it, it is totally ignored (though
I can see that in the XML for the treeview).

The nodes themselves don't have a cssClass, but they do have a DefaultStyle.
The defaultstyle has an attribute and value pair (in the cssAttribute
Collection editor). I have never seen this before and searching on the net
reveals very little.

I have tried a number of things in my CSS. The node of each item is called
tvns:treenode. I have tried setting a style to tvns:treenode, tvns,
treenode, tvns#treenode and many other options, but the class is not being
applied. :-(

How can I apply styles to my treeview? How do I use the cssAttribute
collection editor?

Thanks.
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
 

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

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top