Guys have a great file manager: https://github.com/simogeo/Filemanager

there is a connector for ASP MVC tell me how to integrate it? I took the steps that are on of the page, but it does not work. I understand that you need to spend time, thank you.

    1 answer 1

    If the topic is still relevant, then there is a solution.

    1. Download the file manager itself: https://github.com/simogeo/Filemanager .
    2. Connect it to the MVC project 4. I included in the Scripts folder under his own name - the Filemanager-master folder.
    3. It remains only to register this name in the file filemanager.ashx , specifying the path to the pictures: public string IconDirectory = "/Scripts/Filemanager-master/images/fileicons/"; // Icon directory for filemanager public string IconDirectory = "/Scripts/Filemanager-master/images/fileicons/"; // Icon directory for filemanager .
    4. And make changes to filemanager.config.js ( .default cut off), setting the root folder, I have Content ( "fileRoot": "/Content/" ), language ( "culture": "ru" ) and execution context ( "lang": "ashx" ).
    5. In the Index.cshtml throw a button with a call to the entire connected farm:

     <p> <input type="button" value="Open File Manager" onclick="OpenFileMngr();" /> </p> <script type="text/javascript"> function OpenFileMngr() { var mngrWnd = window.open("/Scripts/Filemanager-master/index.html", "File Manager", 'location=no,toolbar=no,menubar=no,directories=no,status=no,resizable=yes,scrollbars=yes,height=600,width=750, false'); }; </script> 

    It looks like here you will not attach the file to the message, therefore download the project from the Yandex disk: http://yadi.sk/d/E4uoOr4uRFwDQ

    I would be glad to be useful (on the current topic), I will be even more pleased with myself, having received not only moral support: dt0301@yandex.ru

    About the link to the project. I just downloaded it myself twice, using a Yandex browser and firefox. If you have your yand. drive, press the first button and save the project to it, otherwise - the second, then save to the computer.

    I didn’t see yesterday that it was all for CKEditor, it was rooting for ours. Everything is just as easy to solder! Link to the project (sculpted in VS 2013): http://yadi.sk/d/yPA7rw6eRK2QQ The draft instruction. In the settings, everything is obvious.