Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am having 1 txtbox and button ,While clicking on button I want to select folder and save it into txtbox..Is it possible with fileUpload control?
Posted
Comments
kedar001 31-Oct-14 2:23am    
please check
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.saveas%28v=vs.110%29.aspx

http://asp.net-tutorials.com/controls/file-upload-control/

1 solution

 
Share this answer
 
Comments
jithesh a 31-Oct-14 3:03am    
Thanks for the reply..But I don't want a file to upload.I just wanted to Get the folder path that the user has selected. Then i want that folder path in the textbox.

Regards
Jithesh
Mathew Soji 31-Oct-14 3:10am    
Please see similar Q&A below..

http://www.codeproject.com/Questions/724006/How-to-choose-file-location-using-Csharp
jithesh a 31-Oct-14 4:48am    
Thanks. ...But I have to do that....That is the requirement...;) Is ANy other way to do this. I don't want to select any file..just browse folder and take that path.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900