Solved

ASP.NET Folder Picker

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

830 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