简体   繁体   English

在Web应用程序中选择一个文件夹

[英]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.

相关问题 如何从 asp.net Web 应用程序中选择文件夹或文件? - How could i select folder or file from the asp.net web application? MVC Web应用程序C#中的文件夹选择 - Folder selection in MVC web application c# 从Web应用程序获取DefaultAppPool AppData文件夹 - Get DefaultAppPool AppData folder from the web application 通过Silverlight应用程序访问asp.net Web应用程序中的文件夹 - access to a folder in asp.net web application through silverlight application Visual Studio在打开Web应用程序解决方案时创建bin文件夹? - Visual Studio creates bin folder on opening web application solution? 在应用程序文件夹之外读取单独的web.config文件 - Read separate web.config file outside the application folder 在网站的子文件夹中托管mvc web api应用程序 - Host a mvc web api application in the sub-folder of a website ASP.Net-无法从Web应用程序访问“下载”文件夹 - ASP.Net - Unable to access Downloads folder from a web application 将文件复制到IIS中的Web应用程序文件夹会导致文件权限问题 - Copying files to web application folder in IIS causes file permission issues 如何确定ClickOnce应用程序的Web原始文件夹? - How do I determine the web origin folder of a ClickOnce application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM