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

RadEditor.ImageManager is ReadOnly

2 Answers 68 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
dlamprey
Top achievements
Rank 2
dlamprey asked on 17 Jun 2009, 01:44 PM
I created a class that inherits from FileManagerDialogConfiguration (and ImageManagerDialogConfiguration), which loads the correct configuration for my website (I have written a custom FileSystemBrowser, which takes some substantial configuration). This greatly reduces the amount of repeated code for loading FileExplorer and RadEditor. However, I can't set the RadEditor ImageManager (or FileManager.Configutation) property because it is Read Only. Is there a reason it is read only? Is there any work around for this?

2 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 17 Jun 2009, 02:26 PM
Hi,

Thank you for the feedback! We will make the editor file managers properties (ImageManager, DocumentManager, etc.) read/write for the next RadControls release.

If you have already downloaded the beta version of the Q2 2009 RadControls release (2009.2.616), you can use the RadEditor's SetPaths() method to set the view/upload/delete paths for one or more file manager dialogs quickly. For example:

        RadEditor1.SetPaths(new string[] { "/Path1/", "/Path2" }, EditorFileTypes.Images, EditorFileOptions.All);

Regards,
Lini
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
dlamprey
Top achievements
Rank 2
answered on 17 Jun 2009, 02:44 PM
Thanks, I will just use your method for now and refactor it later. :)
Tags
FileExplorer
Asked by
dlamprey
Top achievements
Rank 2
Answers by
Lini
Telerik team
dlamprey
Top achievements
Rank 2
Share this question
or