
Jan Pfeffer
Top achievements
Rank 1
Jan Pfeffer
asked on 23 Feb 2010, 08:58 AM
Hey at Telerik
I have a RadTreeView with skin Office_2007 applied.
Is there any way of disabling the hover and selected images on the nodes.
I have configured the RadTreeView with TriState checkboxes and do not need the whole hover & select logic.
Sincerly Jan
I have a RadTreeView with skin Office_2007 applied.
Is there any way of disabling the hover and selected images on the nodes.
I have configured the RadTreeView with TriState checkboxes and do not need the whole hover & select logic.
Sincerly Jan
4 Answers, 1 is accepted
0
Accepted

Shinu
Top achievements
Rank 2
answered on 23 Feb 2010, 11:35 AM
Hi Jan,
Add the following CSS on page in order to prevent the style applied for hover and selected nodes.
CSS:
-Shinu.
Add the following CSS on page in order to prevent the style applied for hover and selected nodes.
CSS:
<style type="text/css"> |
.RadTreeView_Office2007 .rtSelected .rtIn |
{ |
background-image: none !important; |
color: #00156e !important; |
border: none !important; |
background-color: Transparent !important; |
} |
.RadTreeView_Office2007 .rtHover .rtIn |
{ |
padding: 3px 2px 2px !important; |
color: #00156e !important; |
border: none !important; |
background-color: Transparent !important; |
background-image: none !important; |
} |
</style> |
-Shinu.
0

Jon Shipman
Top achievements
Rank 1
answered on 17 May 2010, 05:40 PM
It looks like there's a parameter left out of the padding property. Without the correction, in my case, my nodes "wiggled over" when I hovered over them.
I also had to add this line to the .rtSelected .rtIn class so it didn't wiggle when I hovered over selected items.
I also had to add this line to the .rtSelected .rtIn class so it didn't wiggle when I hovered over selected items.
padding: 3px 2px 2px 3px !important; |
0

Jon
Top achievements
Rank 1
answered on 22 Sep 2010, 10:58 AM
Is there a generic way of setting this in code yet? Such as HoverHighlight = false & SelectedHighlight = false. Using a CSS replacement is a cumbersome way of disabling an unwanted feature...
Regards,
Jon
Regards,
Jon
0
Hi Jon,
No, there isn't such a feature. We have thought about that kind of functionality, but considering the tools that we provide for templating, skinning and appearance changes, the implementation to such a requirement comes down to relatively small amount of effort, which successfully is then reused.
Hope this will not be too inconvenient and will not have any negative impact on your project.
Thanks for you understanding!
Regards,
Nikolay Tsenkov
the Telerik team
No, there isn't such a feature. We have thought about that kind of functionality, but considering the tools that we provide for templating, skinning and appearance changes, the implementation to such a requirement comes down to relatively small amount of effort, which successfully is then reused.
Hope this will not be too inconvenient and will not have any negative impact on your project.
Thanks for you understanding!
Regards,
Nikolay Tsenkov
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items