views:

760

answers:

2

how to create control in web application that allows multiple file selection in single button click similar to control opefiledialog in windows application

+1  A: 

You will need flash uploader, such as SWFUpload

Also Check these questions:

http://stackoverflow.com/questions/97198/webdev-what-is-the-best-way-to-do-a-multi-file-upload

http://stackoverflow.com/questions/582126/best-way-to-upload-multiple-files-from-a-browser

http://stackoverflow.com/questions/868722/how-do-i-set-the-uploaded-files-folder-for-swfupload

Amr ElGarhy
i have to do it without flash. what is ActiveX Object ? Can't I use that ? if yes How to use it?
no way to select multi files with just the normal open file dialog, you will need a flash object, silverlight, java applet or activeX, but i didn't try with activeX before.
Amr ElGarhy
I would suggest keeping a classic file-by-file upload next to the plug-in based one, just to cover exceptions. In today's modern world everything including smartphones have browsers, but not all of them feature an up-to-date Flash.
DrYak
+1  A: 

try uploadify.com, they have it.

nightingale2k1
This is a nice one, but note its also a flash component but mixed with jquery
Amr ElGarhy