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

Custom Images adding to existing RadEditor Toolbar

4 Answers 143 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Perfect
Top achievements
Rank 1
Perfect asked on 11 Feb 2011, 01:33 PM

Posted 0 minutes ago (permalink)

Hi,
   Existing radeditor I add some images like file attachment(.gif) icon,  how can i add this image to my rad editor ? I'm using  versionq22010.

Thanks in Advance
Mr. Perfect

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 14 Feb 2011, 04:05 PM
Hello Perfect,

Do you want to set an icon for a custom or existing button on the editor's toolbar?

All the best,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Perfect
Top achievements
Rank 1
answered on 15 Feb 2011, 05:27 AM
Hi Rumen,

    In radeditor toolbar I want to add some icon for example. The Icon (image) path is  WebBlue folder ->Buttons-->FileAttachmentsManager.gif . this icon I want to set in toolbar, when I click this icon I want to open a pop-up.  please check the attachment.
 
Thank in Advance
Mr. Perfect.
0
Rumen
Telerik team
answered on 15 Feb 2011, 05:03 PM
Hello Perfect,

You can see in the following help article how to create a custom dialog and set an icon for its toolbar button: Add Custom Dialogs.


This is the syntax for setting an icon:

<style type="text/css">
.reToolbar.WebBlue .<NameOfCustomIcon>
{
        background-image: url(http://www.telerik.com/DEMOS/ASPNET/RadControls/Editor/Skins/Default/buttons/Custom.gif);
}
</style>

Regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Perfect
Top achievements
Rank 1
answered on 21 Feb 2011, 02:14 PM
Hi,
  Thank "U . My Issue is solved. 
   to help to otheres , below  I mention how to solve issue.
 

<

 

 

style type ="text/css"> 

 

 

 

 

.reTool .FileOpen

 

 

{

 

background-image: url(DocumentSectionRadEditorSkins/WebBlue/Buttons/FileOpen.gif);

 

 

}

 

 

</

 

 

style>

 

 

Thanks
Mr.Perfect

Tags
General Discussions
Asked by
Perfect
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Perfect
Top achievements
Rank 1
Share this question
or