RadEditor.ImageManager is ReadOnly

3 posts, 0 answers
  1. dlamprey
    dlamprey avatar
    25 posts
    Member since:
    Jan 2007

    Posted 17 Jun 2009 Link to this post

    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. Lini
    Admin
    Lini avatar
    2150 posts

    Posted 17 Jun 2009 Link to this post

    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.
  3. dlamprey
    dlamprey avatar
    25 posts
    Member since:
    Jan 2007

    Posted 17 Jun 2009 Link to this post

    Thanks, I will just use your method for now and refactor it later. :)
Back to Top