Welcome Guest Search | Active Topics | Sign In | Register

AJAX Uploader Options
Gibran
Posted: Monday, November 21, 2011 4:38:57 PM
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">
eo_support
Posted: Monday, November 21, 2011 5:09:39 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.