[英]Select a folder in web application
I have a web application in which I need to allow users to select a folder, much like folderbrowserdialog. 我有一个Web应用程序,我需要允许用户选择一个文件夹,就像folderbrowserdialog一样。 I can't use file upload control because I don't need to select any files.
我无法使用文件上传控件,因为我不需要选择任何文件。
This is for allowing users to select a folder and click on "Archive" button where all files in selected folder will be moved to a pre-determined archive folder and marked in DB as such. 这是为了允许用户选择文件夹并单击“存档”按钮,其中所选文件夹中的所有文件将被移动到预定的存档文件夹并在DB中标记。
Is this possible in a web application? 这是否可以在Web应用程序中使用? If folder has 20 files, i don't want to ask the user to select each one separately and archive it.
如果文件夹有20个文件,我不想让用户单独选择每个文件并将其存档。
I used this api a while ago for visual change on an organization tree. 我刚才用这个api来组织树上的视觉变化。 Pretty sure it would fit your requirement since allows multiple object selection and drag and drop.
非常确定它符合您的要求,因为允许多个对象选择和拖放。
https://github.com/vakata/jstree https://github.com/vakata/jstree
All the documentation you need and examples are on the page. 您需要的所有文档和示例都在页面上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.