FileManager Prevent Copy on Drag and Drop

1 Answer 226 Views
Drag and Drop FileManager
Mike
Top achievements
Rank 1
Mike asked on 09 Jun 2021, 01:53 PM

Is there a way to remove copy and only confirm Move when dragging and dropping a file?

I tried manipulating options.messages.dialogs.moveConfirm to show only move, but I still have a small button for Copy


filemanager.options.messages.dialogs.moveConfirm.content = '<p style="text-align: center;">Do you want to move file?</p>';
filemanager.options.messages.dialogs.moveConfirm.okText = '';

1 Answer, 1 is accepted

Sort by
1
Accepted
Martin
Telerik team
answered on 14 Jun 2021, 09:55 AM

Hello, Mike,

You can bind to the drop event and hide the Copy button. Here is a small example for reference.

Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Drag and Drop FileManager
Asked by
Mike
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or