These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Multi Select Files

On the live demo you can multi select files to be uploaded inside the windows dialog box.

Using the most recent FileVista Control 1.6 I can only select one file at a time.

Can someone please tell me how to select multiple files from the windows dialog box.
W. David Taylor 11/14/2008 1:18 PM
Selecting multiple files is possible when using Flash mode. This is the default mode so please check you have not set UploadMethod property of the control to the value of "Browser". You can also force by setting the value of "Flash". Note that, the flash mode will be degraded to browser mode if shockwave flash plugin is not found or the swf file is not loaded for some reason.
Cem Alacayir 11/18/2008 2:52 PM
I don't have it set to "Browser", but I think you misunderstood the question.  I am referring to selecting multiple files in the Windows Dialog box, not the browser file list.

W. David Taylor 11/19/2008 5:47 AM
let me try to explain the issue a bit more.  When I use the programmatic version like example 2 and click the Add button from the File upload Dialog a widows file dialog box pops up where I can select files, but I can only select one file at a time.  The example online allows multiple files to be selected from the windows dialog box.  

W. David Taylor 11/19/2008 6:18 AM
Indeed, I am talking about the same thing. The Windows file dialog which allows multi-selection is launched from flash. This is why we have a flash mode because traditional browser upload does not allow you to select multiple files at once in the Windows file dialog.

You can not visually distinguish browser and flash modes. We tried our best to provide a similar user experience even in degraded mode. The only difference you can notice is being able to select multiple files in the Windows dialog or not.

So, your problem is that Flash mode is not enabled for some reason. Please check if Shockwave flash plugin is installed and try to set Flash mode explicitly with the following code:

fileVistaControl.UploadMethod = UploadMethod.Flash;
Cem Alacayir 11/19/2008 3:32 PM
Hmmm... I suggest you consult with your other developers, because you CAN visually distinguish browser and flash modes.

When Browser mode is active (the non-Flash mode), the heading of the 2nd column in the upload dialog states "In Folder", left-justified.

When Flash mode is active, the heading of the 2nd column says "Size", right-justified.

Eric
Eric Winter 11/20/2008 8:51 AM
Yes, sorry I forgot to mention that. Anyway, I was trying to explain David that the user experience is similar ie. we don't use a flash based user interface to display and upload selected files.
In flash mode, as a bonus we can get the size of the selected files, that's why the 2nd column changes because it's a more useful information.
Cem Alacayir 11/20/2008 9:08 AM
I have the same probleam.
all browser FF, Chrome, IE7 can't multi select while upload in the page connect to the server, but is working when I test the page in the VS2008.

I checked the UploadMethod is correct(Flash mode) and my browser add-on the Shockwave-Flash already.

Please give me some hit to solve this.

Thanks.
James Chang 12/9/2008 9:38 PM
When you run the page in the VS2008, it is run on ASP.NET Development Server (Cassini) and not IIS. There are some differences between the two. For instance, ASP.NET Development Server does not support HTTPS and authentication. So you may not notice your project's configuration problems till you deploy your project to IIS.

When running on IIS, please use Fiddler tool to examine the requests and results between the browser and IIS. See if there is any error when the browser requests the .swf file. There may be an authentication problem which blocks the swf file and results in disabling flash mode.
Cem Alacayir 12/15/2008 5:07 AM
not sure if my problem is related but in my case the upload fails in all modes if i am uploading swf, flv, pdf files and is ok with everything else
Aous Abbas 3/5/2009 11:39 AM
Are you the problem is specific to certain file types rather than the size of files? Please send me a sample file which causes the problem.
Cem Alacayir 3/11/2009 5:19 AM