Solved

ASP.NET Folder Picker

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Host asp.net pages 5 25
Split in Javascript 5 31
Creating a dynamic URL  - link to results on Airbnb availability for tomorrow 7 26
REReplaceNoCase help 1 15
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

910 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

19 Experts available now in Live!

Get 1:1 Help Now