Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Let User Select The Folder to test

Status
Not open for further replies.

Rich75

Technical User
Jun 13, 2003
22
0
0
GB
i have been searching all over the net for this but as yet now luck.

i am using webmatrix to develope an application that lets the user select a folder and then checks the contents.

the page is .aspx is there anything like the "folderbrowserdialog" control that i can use ?

at the moment i am using a "file upload" to select a file then return the path + filename to a text box i am then just deleting the "%\filename.txt%" to get the string i am after



thanks

Rich
 
See System.IO and Directory.GetFiles("C:\YourFolderHere\")
You can bind a Repeater or DataList to the Directory.GetFiles() method.
 
i need a browser style window to be opened and then the user to be able to select though there local drives ,network etc. i have tried view tree but it does not give the kind of functionality i am after
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top