I am trying to change the color of a disabled rad tree node to something other then the default. I attempted the following
Protected Sub rtvNav_NodeDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles rtvNav.NodeDataBound
e.Node.Enabled = False
e.Node.DisabledCssClass = "Custom"
but this did not override the color, i.e. the node is still gray. I found the following post http://www.telerik.com/community/forums/aspnet-ajax/treeview/disabled-node-font-color.aspx
but it is almost two years old and not sure if it still applies. The solution is problematic for me as well. The solution says to define
.RadTreeView_Default .rtDisabled .rtIn
color: black !important;
1. The user is allowed to select their own theme so I'd have to define this for all of Telerik's themes
2. I only want to apply this to a specific tree in my application and not all the trees in my application. There could be multiple trees on the same page, one with the new style, and multiple that should behave in the default way (i.e. disabled nodes grey).
What can I do to get disabled nodes to color differently in one situation and not the next?