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

Rad editor Image Manager

3 Answers 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sandee
Top achievements
Rank 1
sandee asked on 21 Sep 2015, 10:13 AM

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.

 

 

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 24 Sep 2015, 07:18 AM
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
0
sandee
Top achievements
Rank 1
answered on 24 Sep 2015, 07:35 AM

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.

0
Vessy
Telerik team
answered on 28 Sep 2015, 02:22 PM
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
Tags
General Discussions
Asked by
sandee
Top achievements
Rank 1
Answers by
Vessy
Telerik team
sandee
Top achievements
Rank 1
Share this question
or