Allow Add and deny Modify in File dialogs

4 posts, 0 answers
  1. miksh
    miksh avatar
    275 posts
    Member since:
    Nov 2006

    Posted 08 May 2015 Link to this post

    I wonder if is it possible in the file dialogs to grant "add new file" & "delete file" but deny "modify an existing file" ? 
  2. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 11 May 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. miksh
    miksh avatar
    275 posts
    Member since:
    Nov 2006

    Posted 11 May 2015 in reply to Vessy Link to this post

    Hi Vessy,

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

     

  5. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 12 May 2015 Link to this post

    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.

     
Back to Top