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

[Solved] Custom Tool Icon Missing in browser, but present in VS2005 design mode

2 Answers 44 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 15 Apr 2009, 07:15 PM

I created a custom tool button for my Rad editor, and the button functions properly.  I also added the following code for the icon for the button:

<style type="text/css">  
    .reToolbar.Vista .MySymbols  
        {  
            background-image: url("../img/rt_icon.gif")!important;  
        }  
</style> 

However, while the icon/button show up properly in design mode of VS2005, when I run the page in IE7 I only see all the other standard toolbar buttons and my button with a small "i" in the bottom right corner.

Might someone be able to help me know what I'm missing?

Thanks!

Michael

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 17 Apr 2009, 03:49 PM
Hi Michael,

Please, try the following syntax:

<style type="text/css"> 
.MySymbols 
    { 
        background-image: url("../img/rt_icon.gif")!important; 
    } 
</style>

All the best,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michael
Top achievements
Rank 1
answered on 20 Apr 2009, 05:10 PM
Perfect!  Thanks Rumen!
Tags
Editor
Asked by
Michael
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Michael
Top achievements
Rank 1
Share this question
or