Wondering how to select a folder in web application. For selecting file we can use file upload control. But to to select folder? Because my application will generate some output file into the folder mentioned. So i would like to know code on how to select
folder in web application
frndz293
Member
6 Points
31 Posts
Code for FolderBrowser in Web application
May 10, 2012 09:43 AM|LINK
Hi All,
Wondering how to select a folder in web application. For selecting file we can use file upload control. But to to select folder? Because my application will generate some output file into the folder mentioned. So i would like to know code on how to select folder in web application
Thanks
santosh.jagd...
Star
7625 Points
1454 Posts
Re: Code for FolderBrowser in Web application
May 10, 2012 10:24 AM|LINK
Use the html input type file. And to get reference for this use PostedFile property.
<input type="file" id="File1" runat="server" />
File1.PostedFile
for more details, plz check here
http://forums.asp.net/t/1042231.aspx/1
</div>MCP
kalpesh.pate...
Member
316 Points
64 Posts
Re: Code for FolderBrowser in Web application
May 10, 2012 10:30 AM|LINK
In Web application, you can explore the file on the client only, not of the server. can you please explore requirement in bit detail?
ramiramilu
All-Star
95275 Points
14072 Posts
Re: Code for FolderBrowser in Web application
May 10, 2012 11:36 AM|LINK
use SlickUpload - http://slickupload.com/
by default there is no other way to select a folder and upload it...
Thanks,
JumpStart
frndz293
Member
6 Points
31 Posts
Re: Code for FolderBrowser in Web application
May 14, 2012 09:34 AM|LINK
Check netomatix.com/folderBrowser.aspx
Under that use interop service code. It worked for me :) thnq all :)