All Products
Demos
Pricing
Services
Blogs
Docs & Support
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX Forum
/
TreeView
/
Disabled Node Font Color
Cancel
Telerik UI for ASP.NET AJAX
Resources
Buy
Try
Feed for this thread
2 posts, 1 answers
Vincent Yau
5 posts
Member since:
Jul 2009
Posted 13 Aug 2009
Link to this post
<style type="text/css">
.FontBlack
{
color: black !important;
}
</style>
<telerik:RadTreeView ID="RadTreeView1" runat="server" Skin="Vista">
<telerik:RadTreeNode Text="a" Enabled="false" DisabledCssClass="FontBlack" >
</telerik:RadTreeNode>
I want to display this node with Black font.
Thanks,
Vincent
Answer
Shinu
17764 posts
Member since:
Mar 2007
Posted 13 Aug 2009
Link to this post
Hi Vincent,
Try adding following CSS in order to show disabled node black in color.
CSS:
<style type=
"text/css"
>
.RadTreeView_Default .rtDisabled .rtIn
{
color
:
black
!important;
}
</style>
Note: Change the Default to SkinName that you are using (if any).
-Shinu.
Back to Top
Close