Unplanned
Last Updated: 21 Apr 2023 07:55 by ADMIN
Matt
Created on: 13 Apr 2023 17:59
Category: FileManager
Type: Feature Request
1
FileManager - Navigation Breaks Using Custom Handler for File Moving

For the future it would be nice if a separate "move" endpoint was optionally available since many of us tend to use virtual filesystem layouts instead of real filsystems.

That said, I used the advice here to setup my own custom handling for file moves:

FileManager - Detect move vs copy in UI for ASP.NET MVC | Telerik Forums

If I preventDefault, I can only do 1-2 moves before I am then unable to navigate the folders anymore through either column. If I allow it to propogate and fire off the create and destroy request (my serverside functions ignore these as invalid), the navigation continues to work.

Can you suggest what events I can maybe fire manually to trigger success without making the create and destroy request, or suggest another way to fix this issue?

My move handler:


function onexecute(e) {
        if (e.command == "MoveCommand") {

            var d = {
                'items' : e.options.items,
                'targetfolder' : e.options.target
            };

            $.post('/Data/Gallery_move?aid=@Model.Asset.ID', d)/*, function(data){
            });*/
            
            //e.preventDefault();
        }
    }

4 comments
ADMIN
Anton Mironov
Posted on: 21 Apr 2023 07:55

Hi Matt,

Thank you for the kind words.

I just spoke with a senior member of the developers' team for the case. The best approach is to implement a custom command and handle it as per the needs of your application.

The achievement of custom implementations could be assisted by the Professional Services Team.

Furthermore, I moved the Feature Request to the jQuery Feedback Portal(the link remains the same). As the Telerik UI MVC components are wrappers of the jQuery widgets. The case is related to a logic applied to the client part of the application.

Kind Regards,
Anton Mironov
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.

Matt
Posted on: 18 Apr 2023 19:24
@Anton, that is great, but in the meantime, is there a way for me to use my current workaround and keep everything working, without having to allow the create and destroy requests being made? 
ADMIN
Anton Mironov
Posted on: 18 Apr 2023 08:08

Hello Matt,

Thank you for the details provided.

The case is now changed to Feature Request in the Public Feedback Portal:

I added a vote on your behalf for the case. The most voted items are considered for implementation.

If further assistance or information is needed, do not hesitate to contact me and the team.

Kind Regards,
Anton Mironov
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.

Matt
Posted on: 17 Apr 2023 22:31
Surely this shouldn't be hard to do?