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

[Solved] How to Display Image on Custom DialogBox

2 Answers 132 Views
Editor
This is a migrated thread and some comments may be shown as answers.
HHH
Top achievements
Rank 1
HHH asked on 26 Mar 2008, 04:41 PM
Hi,

I am using RadEditor Prometheus and i want to assign image to my Custom DialogBox , Any Help on this.

I am using Tool.xml file for CustomDialog,Is there any way to assign image path here or style

 

<

root>
<tools> <

tool name="QuestionPicker" Custom="QuestionPicker" /></tools></root>


i have referred this link but no help
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/CustomDialogs/DefaultCS.aspx

Thanks

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 26 Mar 2008, 05:27 PM
Hi,

If you would like to set an icon to the button that opens your custom dialog then you need to declare a css class  with the following structure:

<style>
.rade_toolbar.<skinName>
.<commandName>
{
   
background-image: url(MyImage.gif);
}
.rade_toolbar.Default .QuestionPicker
{
   
background-image: url(http://www.telerik.com/DEMOS/ASPNET/RadControls/Editor/Skins/Default/buttons/CustomDialog.gif);
}
</style>

You can find more information in the following help article: Adding Your Own Buttons.

Let me know if you scenario is other.

All the best,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Victor
Top achievements
Rank 1
answered on 26 Mar 2008, 05:44 PM
Thanks
Tags
Editor
Asked by
HHH
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Victor
Top achievements
Rank 1
Share this question
or