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

unable to get image for custom tools

1 Answer 46 Views
Editor
This is a migrated thread and some comments may be shown as answers.
srinivas
Top achievements
Rank 1
srinivas asked on 18 Aug 2008, 01:56 PM
Hi,

I have followed the following link to create custom tools on the Rad Editor
http://www.telerik.com/demos/aspnet/prometheus/Editor/Examples/CustomTools/DefaultCS.aspx

i was able to create custom tool however i was unable to provide image for the custom tool. I followed the same steps as described in the above link. I have used the skin "WebBlue" for the RadEditor and i am not maintaining seperate CSS class for providing the image. I have used style attribute inside head tag.

Could you please do the needful.

Thanks
Srinivas

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Aug 2008, 02:29 PM
Hi Srinivas,

You can load the image with the following class

.rade_toolbar.WebBlue .InsertCustomDate
{
   background-image: url(http://www.telerik.com/DEMOS/ASPNET/RadControls/Editor/Skins/Default/buttons/CustomDialog.gif) !important;
}

or

.radeditor.radeditor.WebBlue .InsertCustomDate
{
   background-image: url(http://www.telerik.com/DEMOS/ASPNET/RadControls/Editor/Skins/Default/buttons/CustomDialog.gif);
}


All the best,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
srinivas
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or