Solved

ASP.NET Folder Picker

Posted on 2015-02-04
2
183 Views
Last Modified: 2015-02-04
Hello Experts,

I'm in the process of converting a winforms app to webforms, and one of the features they had implemented was the ability to pick a local/network folder from a directory picker, and I'm struggling with a way to do this in asp.net. I've found several ways to browse through directories and upload a file, but all I'm really needing is the path.

Any thoughts on how to accomplish this?

Thanks!
Brad
0
Comment
Question by:echobridge
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 40588822
Only (older versions of) IE ever had the ability to pass a path during upload. The passing of a user's path to a particular file has been deemed a security concern, and as such no modern browsers offer this ability. I'm afraid you're out of luck short of asking the user to type it in manually (or copy/paste).
0
 
LVL 1

Author Closing Comment

by:echobridge
ID: 40589851
That was kinda what I thought. Unfortunately.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question