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

[Solved] skin change - no longer diplays images for custom buttons

2 Answers 97 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 05 Jun 2008, 05:43 AM
Hi, I have created some custom buttons on the editor's toolbar and have set the style for their images in the containing aspx page like this for example:

.rade_toolbar.Default .ProductLink
{
     background-image: url(/images/Controls/RadEditor/buttonProductLink.gif);
}


This works fine, however, after changing the editors skin from Default to WebBlue and updating the declaration in my style to instead be:

.rade_toolbar.WebBlue .ProductLink

the image for the button fails to load when the editor is displayed. I need to use this WebBlue skin and need to get the images to display for my custom buttons. Any ideas?

Paul.

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 05 Jun 2008, 07:03 AM
Hello Paul,

There is a bug in some editor's skins and to workaround the problem, please try the following syntax, which should allow you to set the icon:

.radeditor.radeditor.WebBlue .ProductLink
{
   
background-image: url(/images/Controls/RadEditor/buttonProductLink.gif);
}

You can find more information in the following forum thread:
Change Custom Tool Icon.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Paul
Top achievements
Rank 1
answered on 05 Jun 2008, 10:48 PM
Thanks Rumen, that has solved the problem for me.

Paul
Tags
Editor
Asked by
Paul
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Paul
Top achievements
Rank 1
Share this question
or