
Sean Hudson
Top achievements
Rank 1
Sean Hudson
asked on 18 Sep 2009, 08:33 AM
Hi, this is my first post on here. I have recently installed the trial version of the AJAX controls on a publishing test site. I have got my whole site using the RadEditor toolbar by activating the relevant feature. This works okay, I can use the document manager, image manager, as well as all of the other tools fine. For the image manager I have set the config file to use "/PublishingImages" as the default directory, and this works ok, it picks up the folders I have created okay.
However, on one of my page layouts I have incorporated an individual RadEditor into the page, that just has the ImageManager icon. When clicking on the ImageManager icon for this the folders (i.e. from my default directory) I get when clicking the other RadEditor toolbar do not appear. I have set the ViewPaths attribute in the page layout to the same directory as I did in the config file, "/PublishingImages", but still nothing. All I get is the ImageManager dialog box, but with nothing in it, and the majority of the controls are greyed out and are unusable.
Is there something I should have done (or shouldn't have!) that may be causing this problem?
Many thanks in advance,
Sean
However, on one of my page layouts I have incorporated an individual RadEditor into the page, that just has the ImageManager icon. When clicking on the ImageManager icon for this the folders (i.e. from my default directory) I get when clicking the other RadEditor toolbar do not appear. I have set the ViewPaths attribute in the page layout to the same directory as I did in the config file, "/PublishingImages", but still nothing. All I get is the ImageManager dialog box, but with nothing in it, and the majority of the controls are greyed out and are unusable.
Is there something I should have done (or shouldn't have!) that may be causing this problem?
Many thanks in advance,
Sean
6 Answers, 1 is accepted
0

Schlurk
Top achievements
Rank 2
answered on 22 Sep 2009, 06:49 PM
I would recommend looking into this knowledge base article since you only have an imagemanager in the Editor. Also make sure that all your paths are of the following format:
"~/folder/testFolder" and not "~/folder/testFolder/".
"~/folder/testFolder" and not "~/folder/testFolder/".
0
Accepted
Hello Sean,
From what you are describing it seems that you are using the MOSS version of the editor in your site. If this is the case then you should not use the <telerik:RadEditor> control in your layout, because it is not connected to the SharePoint libraries and will not display their contents. Instead, you should use the MOSSRadEditor control, which will read the configuration file like the rest on the site and display the publishing images library:
<%@ Register TagPrefix="telerik" Namespace="Telerik.SharePoint" Assembly="RadEditorSharePoint, Version=x.x.x.x, culture=neutral, PublicKeyToken=1f131a624888eeed" %>
...
where x.x.x.x is the RadEditor for MOSS version (e.g. 5.5.1.0).
All the best,
Lini
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
From what you are describing it seems that you are using the MOSS version of the editor in your site. If this is the case then you should not use the <telerik:RadEditor> control in your layout, because it is not connected to the SharePoint libraries and will not display their contents. Instead, you should use the MOSSRadEditor control, which will read the configuration file like the rest on the site and display the publishing images library:
<%@ Register TagPrefix="telerik" Namespace="Telerik.SharePoint" Assembly="RadEditorSharePoint, Version=x.x.x.x, culture=neutral, PublicKeyToken=1f131a624888eeed" %>
...
<telerik:MOSSRadEditor id="RadEditor1" runat="server"></telerik:MOSSRadEditor>
where x.x.x.x is the RadEditor for MOSS version (e.g. 5.5.1.0).
All the best,
Lini
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

Sean Hudson
Top achievements
Rank 1
answered on 19 Oct 2009, 06:43 AM
Thanks Schlurk and Lini, sorry for the delayed response I have been off work for the past few weeks and haven't checked my emails. I will try out your suggestions and let you know how I get on.
Thanks again,
Sean
Thanks again,
Sean
0

Sean Hudson
Top achievements
Rank 1
answered on 19 Oct 2009, 10:41 AM
Thanks Lini, your suggestion worked, and after creating a custom tools file I was able to edit the toolbar accordingly. However, another issue I am having is why does the editing dialog show at all times, regardless of whether I am in 'Edit page' mode or on the live page? Is there a way of just allowing me to use the editing functions when in 'Edit page' mode only?
Thanks again,
Sean
Thanks again,
Sean
0
Hi Sean,
The MOSSRadEditor control is just the basic RadEditor plus support for the SharePoint libraries in the file dialogs. If you want the editor to appear only in "edit page" mode, you either need to implement it with server code (e.g. set the editor's Enabled property) or use one of the supported MOSS scenarios - WCM Field (using the Telerik.SharePoint.FieldEditor.RadHtmlField control), or add a RadEditor content editing web part to the page.
Regards,
Lini
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
The MOSSRadEditor control is just the basic RadEditor plus support for the SharePoint libraries in the file dialogs. If you want the editor to appear only in "edit page" mode, you either need to implement it with server code (e.g. set the editor's Enabled property) or use one of the supported MOSS scenarios - WCM Field (using the Telerik.SharePoint.FieldEditor.RadHtmlField control), or add a RadEditor content editing web part to the page.
Regards,
Lini
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

Sean Hudson
Top achievements
Rank 1
answered on 22 Oct 2009, 11:02 AM
Lini,
Thanks for the reply. I thought I would have to something server side. I will give it a try and will update the post with my solution (if I find one!).
Sean
Thanks for the reply. I thought I would have to something server side. I will give it a try and will update the post with my solution (if I find one!).
Sean