
Venkadesh Babu
Top achievements
Rank 1
Venkadesh Babu
asked on 12 Oct 2011, 03:10 PM
Hi,
I need to remove an hyperlink look from my tree nodes. Tryed TreeNodeOver style like "text-decoration: none". However it is not working.
I used the below css code on aspx page:
<style type="text/css">
.myNodeHoveredCss .rtIn
{
text-decoration: none !important;
}
.myNodeSelectedCss .rtIn
{
text-decoration: none !important;
}
</style>
Code behind used below line:
stNode.HoveredCssClass = "myNodeHoveredCss";
Can you please tell me how to remove Hyperlink look from tree node?.
4 Answers, 1 is accepted
0

Princy
Top achievements
Rank 2
answered on 13 Oct 2011, 10:36 AM
Hello Venkadesh,
I suppose you want to remove the background that comes on hovering RadTreenodes.Try the following CSS.
CSS:
Thanks,
Princy.
I suppose you want to remove the background that comes on hovering RadTreenodes.Try the following CSS.
CSS:
<style type=
"text/css"
>
.RadTreeView_Default .rtHover .rtIn
{
background
:
none
!important
;
border-color
:
white
!important
;
}
</style>
Thanks,
Princy.
0

Venkadesh Babu
Top achievements
Rank 1
answered on 13 Oct 2011, 03:19 PM
Hi,
I tryed with the below mentioned CSS to remove hyperlink look from the telerik tree node. However it is not working.
CSS:
<style type="text/css">
.RadTreeView_Default .rtHover .rtIn
{
background:none!important;
border-color:white!important;
}
</style>
Can you please share with me how to remove Hyperlink look from tree node?.
I tryed with the below mentioned CSS to remove hyperlink look from the telerik tree node. However it is not working.
CSS:
<style type="text/css">
.RadTreeView_Default .rtHover .rtIn
{
background:none!important;
border-color:white!important;
}
</style>
Can you please share with me how to remove Hyperlink look from tree node?.
0
Hello Venkadesh Babu,
You could try using the following css class selectors. However you would need to change the selectors to match you current skin that is applied in case you a skin that is different form Windows7(for example in case you use the Default skin the first selector would be as follows -
Regards,
Kate
the Telerik team
You could try using the following css class selectors. However you would need to change the selectors to match you current skin that is applied in case you a skin that is different form Windows7(for example in case you use the Default skin the first selector would be as follows -
div.RadTreeView_Default
.rtSelected .rtIn )
:div.RadTreeView_Windows
7
.rtSelected .rtIn
{
/*applied to the tree node when selected*/
background-color
: White;
background-image
:
none
;
}
div.RadTreeView_Windows
7
.rtHover .rtIn
{
/*applied to the tree node when hovered*/
background-color
: White;
background-image
:
none
;
}
div.RadTreeView_Windows
7
.rtHover .rtIn
{
/*applied to the tree node when hovered*/
border
:
0px
;
}
div.RadTreeView_Windows
7
.rtSelected .rtIn
{
/*applied to the tree node when selected*/
border
:
0px
;
}
Regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0

Venkadesh Babu
Top achievements
Rank 1
answered on 18 Oct 2011, 12:46 PM
Thanks Kate. It worked.
Regards,
Venkadesh Babu
Regards,
Venkadesh Babu