Disable moving of files/folders

3 posts, 1 answers
  1. Christian
    Christian avatar
    9 posts
    Member since:
    Jun 2010

    Posted 18 Jun 2010 Link to this post

    I can´t find out how to disable the ability to move (drag) files or folders in the File Explorer. Is there an easy way to disable this?
    Now I can drag files or folders and then get a permission error alert. But wan´t to disable the dragging as well.

    Regards

    Christian
  2. Answer
    Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 21 Jun 2010 Link to this post

    Hi Christian,

    You can easily disable the drag and drop of files and folders in the FileExplorer control via codebehind using the following code:

    RadFileExplorer1.TreeView.EnableDragAndDrop = false;
    RadFileExplorer1.Grid.ClientSettings.AllowRowsDragDrop = false;

    Best regards,
    Rumen
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Christian
    Christian avatar
    9 posts
    Member since:
    Jun 2010

    Posted 21 Jun 2010 Link to this post

    Thank you, it worked fine!

    / Christian
Back to Top