File manager for ASP.NET MVC 2?

I am trying to find a way to implement the file manager functionality in an mvc 2 application. I looked at jquery etc. In order to do this. I was able to implement simple upload / download with just the input file button, etc., and I also tried the jquery file tree ( http://abeautifulsite.net/blog/2008/03/jquery-file-tree/ ), but I have no idea how to connect the file tree functionality with the upload, download and delete functions that I want. Despite the fact that the file tree works, everything that it does, if you click on the file, should show a warning with the file name. I do not know how to do that.

I would like something like a tree on the left with folders, and then files to the right, with the ability to select a file, and then download or delete. The download functionality, in my opinion, will not be a problem, since I could just split it and then reload the page to refresh the file tree. Although, ideally, I would like him to remain in the same selection.

Anyone have any ideas how to do this?

If not (or at all), I am also very grateful if anyone knows about an open source file manager with these features (including upload / download / delete) in ajax / jquery or the like, which is actually compatible with mvc2. The reason is because I don't want to mess up the mvc application with the web form versions that I know of.

EDIT:

Here is the code calling the fileTree function:

<script type="text/javascript">
    $(document).ready(function () {

        $('#JQueryFTD_Demo').fileTree({

            script: 'Home/JqueryFileTree',
            expandSpeed: 1000,
            collapseSpeed: 1000,
            multiFolder: true
        }, function (file) {
            alert(file); //This shows the name of the file if you click it
        });
    });
</script>

fileTree, , ( "" ) , , , .. , jquery, . , MVC (.. - ), " " , , , jquery : -).

+3
1

, AJAX , , . , , .

+3

Source: https://habr.com/ru/post/1759523/