Folder dialog box in c # asp.net

is there a folder control dialog in asp.net?
I want the user to click a button and select a folder (not a file). i tried to use input this way:

 <input type="file" runat="server" id="d" />

      

but it allowed me to view the file, not the folder.
any help?

+2


a source to share


2 answers


You would need to build something like this; use the text popup extender of the AJAX control tool to display the window to the user and then build the UI yourself. to display root and subfolders. Perhaps this is a tree view. This is possible if you are talking about folders on a web server.

If you are talking about a folder on a client machine, you will need an active X or silverlight. So it depends on what you are looking for.



NTN.

+2


a source


There is no native way to do this in HTML - you will need to write something custom (perhaps using ActiveX or Silverlight) that will allow you to do this.



0


a source







All Articles