title: Control to browse/select only a folder, not a file in ASP.NET?
body: <p>I have an import form on my asp.net page. There are 2 browse controls. The first allows the user to select a file (typical). For the second one I want the user to be able to select a folder/dir (because I want to import all files in that directory.) How can I do this? Currently I'm using this but it only works with files. I want the user to only be able to select a folder....</p>
  
  <pre><code> &lt;asp:FileUpload ID="DirUpload" runat="server" /&gt;
  </code></pre>