christheprogrammer
Programmer
Hi everyone,
I am trying to set the CssClass property of the TreeView Webcontrol. I have created a new Style Sheet, and place the following code inside:
.treeNodeStyle
{
background:#dcdcdc;
color:green;
font-size:12pt;
font-family:Arial;
}
Now, how the heck do I use this Style Sheet to format my Treeview control? I have tried the obvious, setting the CssClass property of the control to be .treeNodeStyle, treeNodeStyle, or TreeNodeStyle.css. I have also included the following line in <HEAD> section of the page the treeview control is on:
<LINK href="TreeNodeStyle.css" type="text/css" rel="stylesheet">
And nothing is working.... Do I have to paste the Style Sheet code directly as the CssClass property? This seems ridiculous if it is the case.....
Cheers and thanks a million
Chris
I am trying to set the CssClass property of the TreeView Webcontrol. I have created a new Style Sheet, and place the following code inside:
.treeNodeStyle
{
background:#dcdcdc;
color:green;
font-size:12pt;
font-family:Arial;
}
Now, how the heck do I use this Style Sheet to format my Treeview control? I have tried the obvious, setting the CssClass property of the control to be .treeNodeStyle, treeNodeStyle, or TreeNodeStyle.css. I have also included the following line in <HEAD> section of the page the treeview control is on:
<LINK href="TreeNodeStyle.css" type="text/css" rel="stylesheet">
And nothing is working.... Do I have to paste the Style Sheet code directly as the CssClass property? This seems ridiculous if it is the case.....
Cheers and thanks a million