Unplanned
Last Updated: 20 Feb 2025 11:39 by ADMIN
Christopher
Created on: 13 Feb 2025 15:21
Category: FileManager
Type: Feature Request
0
In FileManager, I would like to be able to cancel a rename operation before it is sent to the server

We allow the user to rename files and folders, but if they rename to the same name as another file/folder, what we would like to do is prompt the user with a confirmation dialog, explaining that if they click "Ok", the existing file will be overwritten with the newly-renamed file.  For folders, it would merge the contents, but again, duplicates would be overwritten.  If they click "Cancel", then the dialog should close, and nothing else should happen.  

Right now, the closest thing I could find was the "requestStart" event handler.  This fires after the user renames, and before the request is sent to the server.  The problem is, even in the documentation, it says, "This event can be prevented only for read requests."  

We would like to be able to prevent "update" requests as well, for this scenario.  Can this be added as a feature? 

1 comment
ADMIN
Neli
Posted on: 20 Feb 2025 11:39

Hi Christopher,

I am changing the status of the item to Unplanned. We will monitor the community interest in such a feature and based on the votes the issue gathers we will consider it for future implementation. 

I added a separate item in the Feedback Portal for adding the possibility of preventing the requestStart event also for update requests. Below you will find a link to the item. I also casted a vote on your behalf in the issue:

- https://feedback.telerik.com/kendo-jquery-ui/1679542-allow-the-requeststart-to-be-prevented-also-for-update-request 

Feel free to leave a comment in the issue describing your scenario.

I remain at your disposal in case you have additional questions.

Regards,


Neli
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.