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

Changing the hyperlink image on the toolbar for the radeditor

3 Answers 86 Views
Editor
This is a migrated thread and some comments may be shown as answers.
BrianSn
Top achievements
Rank 1
BrianSn asked on 10 Nov 2008, 10:31 PM
I have an image I need to use instead of the exiting out of the box image that appears on the toolbar, I have tried replacingthe MOSSLinkManager.gif but that didn't work. Is there a place to do this?

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Nov 2008, 05:36 PM
Hello BrianSn,

Here are the corresponding tool names for the built-in RadEditor Image and Link dialogs and these of MOSS:

Built in dialog Asset Picker
LinkManager MOSSLinkManager
ImageManager MOSSImageManager

 You should open the corresponding ToolsFile.xml / ListToolsFile.xml files in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.2.1.0__1f131a624888eeed/Resources/ folder and add the following tools:

<tool name="LinkManager" />
<tool name="
ImageManager" />


Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
BrianSn
Top achievements
Rank 1
answered on 12 Nov 2008, 06:10 PM
Let me try again, as you did not even come close to answering my question.

I do NOT want to add or remove items from my toolbar, I want to change the hyperlink image that you force me to use.

Let me explain. the control for moss makes me use two differnet hyperlink buttons, one for linking, and a different one for creating anchors.  when I added these:
<tool name="LinkManager" />
<tool name="MOSSLinkManager" />

They are both using the same image on the toolbar. I need to change the image that shows up.

How do I do that?
0
Rumen
Telerik team
answered on 12 Nov 2008, 06:27 PM
Hi BrianSn,

I was able to change the built-in icon of the Link Manager of the standard RadEditor for ASP.NET AJAX (the MOSS editor is based on it) with the following class:

<style type="text/css">
.rade_toolbar.Default .LinkManager
{
  background-image: url(http://demos.telerik.com/aspnet/RadControls/Editor/Skins/Default/buttons/Custom.gif);
}
.LinkManager, .CreateLink, .CustomLinkTool, .SetLinkProperties
{
    background-position: center !important;
}
</style>

Please, test it and let me know if it works in your MOSS scenario.


Best regards,
Rumen
the Telerik team

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