views:

1228

answers:

4

I already used a hidden file upload control to browse file and grab the file path, without really uploading it.

My question is, is there a way in ASP.NET, create a folder browse button, when it is clicked, just to browse client file system, and user can click the path and choose that path not file?

A: 

Unfortunately no, the only file-related HTML control is the file picker (<input type="file">).

anurse
+1  A: 

No, you can't do with standart ASP.NET controls which map to HTML controls. Probably it's possible if you are using Flash, Silverlight or Java applets.

PiRX
A: 

how can we do with javascript in asp.net application

you can't do it with javascript
Todd Smith
A: 

Use Flash for this task and invoke this actions via JS

omoto