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

How to force a specific Target in a link or a document

5 Answers 65 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Edin
Top achievements
Rank 1
Edin asked on 20 Jan 2009, 09:45 AM
Hello,

I want to "freeze" the target choice list to offer only the "New Window" option. By our policy, all the links in the rich content should open in a new window and we want to disable other options for the end users.

Is this feasible just by configuring RADEditor for MOSS or we need to make a custom JavaScript function that strips the options down to only one?

Thank you in advance,

-- Edin

5 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 21 Jan 2009, 08:16 AM
Hello Edin,

I suggest you to modify the LinkManagerControl.ascx located in Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.4.0__1f131a624888eeed\RadControls\Editor\Controls folder. Find the section where _linkTargetSelector select element is located.

I hope this helps.


Kind regards,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Edin
Top achievements
Rank 1
answered on 22 Jan 2009, 02:12 PM
Thank you, Stanimir

Unfortunately I have no \wpresources\RadEditorSharePoint\4.5.4.0__1f131a624888eeed\RadControls\Editor\Controls on the server. We have this folder instead: C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.2.2.0__1f131a624888eeed. Furthermore, in this folder we only have the Resources subfolder with the configuration files.

-- Edin
0
Stanimir
Telerik team
answered on 23 Jan 2009, 08:40 AM
Hi Edin,

Could you please confirm that you are using RadEdtior for MOSS version 5.2.2 , so I will be able to point you to the right file?

Thank you.


Kind regards,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Edin
Top achievements
Rank 1
answered on 05 Feb 2009, 09:57 AM
Hi,

Sorry for the delay, I was briefly transferred to another project.

I can confirm that we are using RAD Editor 5.2.2 for MOSS (installed as a WSP package).

-- Edin
0
Stanimir
Telerik team
answered on 09 Feb 2009, 11:24 AM
Hello Edin,

By default, all RadEditor dialogs are embedded as resource fils in the Telerik.Web.UI.dll file, which makes their customization harder. In order to provide an easy way to modify the editor's dialogs, the RadControls installation now comes with an extra folder named EditorDialogs which contains the dialogs' ascx files. You can configure RadEditor to use the external dialog files by copying the EditorDialogs folder to the root of the web application and setting the ExternalDialogsPath property. You can get more information on the matter in the following help article http://www.telerik.com/help/aspnet-ajax/customizingimagedialog.html .

In addition you should know that in order to set the ExternalDialogsPath property you need to modify the respective ConfigFile.xml located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.2.2.0__1f131a624888eeed\Resources folder.

I hope this helps.



All the best,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
WebParts for SharePoint
Asked by
Edin
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Edin
Top achievements
Rank 1
Share this question
or