Rank: Newbie Groups: Member
Joined: 10/25/2011 Posts: 7
|
Hi I added the MaxFileCount property to the AJAXUploader component but it still only allows me to select one file when I browse. Am I not understanding what this property is supposed to do?
<eo:AJAXUploader ID="AJAXUploader1" runat="server" MaxDataSize="31457280" AllowedExtension=".jpg" OnFileUploaded="AJAXUploader1_FileUploaded" Width="250px" TempFileLocation="~/EO_Upload" MaxFileCount="3" AutoPostBack="true">
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
That is the correct behavior. MaxFileCount controls how many files you can upload, not how many files you can select. For example, if MaxFileCount is 2, then user can do Browse -> Upload -> Browse -> Upload -> Submit. Note when user submits the page, he submited 2 files. He will not be able to do Browse -> Upload -> Browse -> Upload -> Browse -> Upload -> Submit since that would be 3 files. There is no way to enable multi-selection in the browse dialog.
Thanks!
|