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

MOssRadEditor unable to set custom FileBrowserContentProviderTypeName

1 Answer 27 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Anton
Top achievements
Rank 1
Anton asked on 30 Jun 2010, 09:29 AM
Hi.
I'm trying to set FileBrowserContentProviderTypeName for every one mossradeditor on web application.
I wrote SPCustomContentProviderclass inherited from FileBrowserContentProvider and edited ConfigFile.xml.
<?xml version="1.0" encoding="utf-8" ?>
<!--  you should copy this file on environment to folder C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.2.3.0__1f131a624888eeed\Resources\
and replace existing one-->
<configuration>
  <property name="AllowThumbGeneration">True</property>
  <property name="ConvertToXhtml">True</property>
  <property name="EnableDocking">False</property>
  <property name="ShowHtmlMode">True</property>
  <property name="ShowPreviewMode">False</property>
  <property name="ToolbarMode">ShowOnFocus</property>
  <property name="ToolsWidth">680px</property>
  <property name="Skin">Telerik</property>
  <property name="ToolsFile">/_layouts/TelerikTools.xml</property>
  <property name="FileBrowserContentProviderTypeName">GenericUtils.SPCustomContentProvider, GenericUtils, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f4da00116c38ec5</property>
  <property name="ExternalDialogsPath">/_layouts/editordialogs</property>
</configuration>

But radeditor still use standard sharepoint provider. How can I change default provider?

P.S. I'm trying to add possibility for user to change site collections in image manager. I know about ImagesPaths but they allowing only access to current site's or root site's folders.

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 02 Jul 2010, 03:08 PM
Hello Anton,

Unfortunately the setting of the standard content provider occurs after the ConfigFile.xml is loaded. So at this point you can not set the FileBrowserContentProviderTypeName property in the ConfigFile.xml file.

What you can do is open an official support ticket and if you have valid license information, I will send you the source code of RadEditor for MOSS. You can use it to modify the content provider and create your custom wsp solution.

Sincerely yours,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Anton
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or