There is a page on my site that asks the user enter in a path to a folder/file. This folder/file exists on the local machine. Instead of having the user type out this directory, I would like to have the user choose the path via some sort of pop-up where the user can browse folders/files on their local machine. Once a folder/file is chosen in the dialog, I would like the path of this folder/file to be displayed in a text box ready to be submitted to the server.
I have searched all over Google and this site in search of a solution that fits my particular needs. Please remember, I need this to work for both folders and files.
For example, instead of having the user type in "C:\Users\Me\Desktop\MyFile.txt", I would like them to be able to browse for this in a dialog. They should also be able to select a folder like "C:\Users\jselesky\Desktop\". I am using ASP.NET MVC3 with C# for my web site. Thank you.