Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi developers.
I am working on asp.net using vb language.
I have a Imagebutton and i want to open a dialog like fileupload on imagebutton clik event.
As you know fileupload does not show the path untill we select the file.
I need whenever i click on any folder it returns me the path.
I want to set that path in my textbox.

Can file upload do this?

Please help me.

Thanks in Advance.
Posted
Updated 4-Jul-11 23:44pm
v8

Instead of using a TextBox and an ImageButton, you can use the FileUpload control which is already available in the StandarD toolbar!
It is the easiest solution for your requirement!
 
Share this answer
 
v2
No. ASP.NET can't do this, because HTML cannot. So, you'd need to write a browser add in control to do it.
 
Share this answer
 
Comments
Sachin__Sharma 5-Jul-11 2:13am    
No problem i am using aspx page can you please explain?
Christian Graus 5-Jul-11 2:27am    
I guess you don't know what ASP.NET is. ASP.NET is an engine to generate HTML. Therefore, if HTML can't do it, then ASP.NET can't do it. You'd need to embed a flash/java/etc control in your page. ASP.NET can't do it.
Sachin__Sharma 5-Jul-11 2:32am    
Thanks dear but one more question, can jquery do this?
Christian Graus 5-Jul-11 2:40am    
No, it can't. Nothing that's delivered as text to the browser, can do this.
fjdiewornncalwe 5-Jul-11 22:46pm    
+5. I agree.

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