Rad editor Image Manager

4 posts, 0 answers
  1. sandee
    sandee avatar
    7 posts
    Member since:
    Mar 2015

    Posted 21 Sep 2015 Link to this post

    Hi Team,

     

     

    Im facing some problem in rad editor image Manager, My problem is  radeditor  click on image Manager   Im assign  some values from code behind,I want disable the this property for root Folder  in the image manager.

     

    1. Delete 

    2. Rename 

    3. New Folder 

    how to disable the above events when user click on root folder.

    I searched  in telerik forums solutions are founded.

     

     

  2. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 24 Sep 2015 Link to this post

    Hi sandee,

    The permissions given to the ImageManager depend on the paths set to its ViewPaths, UploadPaths and DeletePaths properties.

    For example, if you have the following folder structure:
          - Root
                  - Folder1
                  - Folder2

    the configuration below will give all permissions to Folder1, view and delete permissions to Folder2 and only view permissions to the Root directory:
    <telerik:RadEditor runat="server" ID="RadEditor1">
        <ImageManager ViewPaths="~/Root" DeletePaths="~/Root/Folder1, ~/Root/Folder2" UploadPaths="~/Root/Folder1"/>
    </telerik:RadEditor>

    I hope this information will be helpful for you.

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. sandee
    sandee avatar
    7 posts
    Member since:
    Mar 2015

    Posted 24 Sep 2015 in reply to Vessy Link to this post

    I cant say this is correct ,I want to disable  delete rename functionality for this  event in your case

    ROOT-

      - Folder 1 

    Delete ,rename should not disable for the users.

     this is not a correct answer I cant found any answer in this.

  4. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 28 Sep 2015 Link to this post

    Hi sandee,

    I am not quite sure I understand your last reply properly - can you elaborate on the exact scenario you want to achieve so I can advise you further?

    Put simply, if you do not pass the path to a folder to the Delete/Upload paths of FileExplorer (or the path to its parent folder), the delete and rename actions will not be allowed for this folder.

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top