Solved

ASP.NET Folder Picker

Posted on 2015-02-04
2
176 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 74

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

757 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now