This is a migrated thread and some comments may be shown as answers.

Image is getting disappered on mouse hover

2 Answers 49 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Medac
Top achievements
Rank 1
Medac asked on 21 Oct 2009, 07:59 AM

hi,

i have added the following style to aspx page. But still image is getting disappered on mouse hover.
I am using telerik verion 2009.2.826.20.

please help me....

 

 

 


<

 

style type="text/css">

 

 

.RadTreeView .rtPlus

 

{

 

background-image: url('../Images/Folderclosed.gif') !important;

 

 

height: 10px !important;

 

 

width: 12px !important;

 

}

 

 

.RadTreeView .rtMinus

 

{

 

background-image: url('../Images/Folderopen.gif') !important;

 

 

height: 10px !important;

 

 

width: 12px !important;

 

}

 

 

.RadTreeView .rtLI rtLast

 

{

 

background-image: url('../Images/Closed_folder.gif') !important;

 

 

background-position: 0px 0px !important;

 

 

height: 10px !important;

 

 

width: 10px !important;

 

 

}

 

.RadTreeView .rtMinus:hover

 

{

 

background-position: 0px 0px !important;

 

 

}

 

 

.RadTreeView .rtPlus:hover

 

{

 

background-position: 0px 0px !important;

 

}

 

 

</style>

Regards,
Medac 

 

2 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 23 Oct 2009, 03:31 PM
Hello Medac,

Can you attach the images you use?  I have tried with custom images, but they seem to work just fine with the CSS you have provided..

All the best,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Genady Sergeev
Telerik team
answered on 23 Oct 2009, 04:14 PM
Hi Medac,

Can you paste the following CSS at your page and observe whether there is a change in the situation:

.RadTreeView .rtPlus,
        .RadTreeView .rtMinus
        {
            background-position: 0px 0px !important;
        }


Best wishes,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Medac
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or