Click to See Complete Forum and Search --> : How can i use OpenFileDialog class in Web Applicaton?


fenglimin
January 28th, 2003, 02:16 AM
Hi,
I want to display a OpenFileDialog to select a file in a Web Page, is seems that the namespace "System.Windows" can not be used in Web Application. Why?

Please help me!!
Thanks!!!!

anupam kant
January 31st, 2003, 01:10 AM
System.Windows does not work with WEB

If you want to show openfile dialog, why don't you use the old html way i.e. <input type= file .....
after all you have to show the dialog on the client browser and it has nothing to do with the server (at least at that point...).

On web you can brows client's file system with the dialog. but for server's file system (not recommended for security reasons) you have to to code and build your own dialog window.


hope this helps...