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

Image Manager in SharePoint

3 Answers 70 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Timothy DiPaula
Top achievements
Rank 1
Timothy DiPaula asked on 19 May 2010, 04:57 PM
I have a RadEditor in a user control and I want the ImageManger to use a Image Library list on the site.  Is this possible?

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 20 May 2010, 09:28 AM
Hi Timothy,

When it comes to SharePoint we recommend to our clients using RadEditor for MOSS. This control is created especially for SharePoint environment. All the dialogs in it work with specially designed content provider. What you need to do is deploy the RadEditorMOSS.wsp solution, then instead of using RadEditor you need to use MOSSRadEditor. MOSSRadEditor class is defined in the Telerik.SharePoint namespace of RadEditorSharePoint assembly.

In order to download the latest version of RadEditor for MOSS you should go to the Downloads section under your account, click on the Visual Studio Extensions, DLLs, Scripts, Source Code, DNN and MOSS wrappers ... link and download the RadEditor for MOSS: (zip, 14 MB) installation.

You can find helpful information about the control in our online help: http://www.telerik.com/help/aspnet-ajax/moss-introduction.html


Regards,
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.
0
Timothy DiPaula
Top achievements
Rank 1
answered on 20 May 2010, 03:06 PM
I have successfully added the MOSS Rad Editor to my user control.  I would now like to set the library that the ImageManager uses in the code-behind.  Is this possible? 
0
Stanimir
Telerik team
answered on 24 May 2010, 01:03 PM
Hi Timothy,

You can find information on the Image Manager in the following online help article:
http://www.telerik.com/help/aspnet-ajax/image_manager.html.
Also review the following online help article: Set Properties Via Config File.

Here is some additional information on how the ImagesPaths collection works.

By default, all the libraries from the current site are included in the ImagePaths collection.

When you set path starting without slash (e.g. "ImagesLibrary"), you will refer a local library - library from the current Web. If you set path staring with slash (e.g. /ImagesLibrary), you will refer a library from the SiteCollection (root).

For example:
SiteCollection/ImagesLibrary
SiteCollection/SubSite1/ImagesLibrary

Lets  open the SubSite1 ConfigFile.xml and set the following images path:
<property name="ImagesPaths">
  <item>ImagesLibrary</item>
</property>
The ImageManager will load the SiteCollection/SubSite1/ImagesLibrary. 

If you set the path with slash the ImageManager will open the SiteCollection/ImagesLibrary e.g. 
<property name="ImagesPaths">
  <item>/ImagesLibrary</item>
</property>

Also you should know that if you set e library such as SiteCollection/SubSite1/ImagesLibrary, the currently logged user should have at least reading rights for all site collections of the path. Otherwise the ImagesLibrary will not appear in the ImageMangager dialogue.

I hope this helps.


Kind regards,
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
Timothy DiPaula
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Timothy DiPaula
Top achievements
Rank 1
Share this question
or