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

Allow Add and deny Modify in File dialogs

3 Answers 38 Views
Editor
This is a migrated thread and some comments may be shown as answers.
miksh
Top achievements
Rank 1
Iron
miksh asked on 08 May 2015, 07:08 PM
I wonder if is it possible in the file dialogs to grant "add new file" & "delete file" but deny "modify an existing file" ? 

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 11 May 2015, 11:22 AM
Hi Miksh,

Can you elaborate a bit on what is the exact functionality you want to deny? Are you referring the Properties tab in the FileManager dialogs or something else? If the former is true, you can hide it by hiding the desired elements in the Editor's External Dialogs. If it is not, please provide more details on the exact scenario you want to achieve and/or screenshots pointing to the elements you want to make inactive (if any).

Looking forward to hearing from you,
Vessy
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
miksh
Top achievements
Rank 1
Iron
answered on 11 May 2015, 01:08 PM

Hi Vessy,

If speaking in the editor dialogs terms, we need to disable "Overwrite if file exists" functionality.

 

0
Vessy
Telerik team
answered on 12 May 2015, 03:08 PM
Hi miksh,

Thank you for the clarification. You can disable the "Overwrite if file exist" option in the FileExplorer's Upload dialog by going through the following steps:
  • Enable the Editor's External dialogs like explained here: Customize Built-in Dialogs
  • Modify the ImageManager.ascx file by adding the following CSS style:
    .rfeCheckBoxContainer{
        display:none;
    }
Please, try the suggestion above and let me know in case any further assistance on this matter will be needed.

Regards,
Vessy
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Editor
Asked by
miksh
Top achievements
Rank 1
Iron
Answers by
Vessy
Telerik team
miksh
Top achievements
Rank 1
Iron
Share this question
or