Welcome Guest Search | Active Topics | Sign In | Register

Limiting Number of Uploads? Options
Craig
Posted: Saturday, June 30, 2007 11:41:22 AM
Rank: Member
Groups: Member

Joined: 6/8/2007
Posts: 13
Does the AjaxUploader have a function where i can sent the max number of files to upload in an instance?
eo_support
Posted: Saturday, June 30, 2007 12:26:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi, Craig

Thanks for posting your questions here.
Are you looking for the property Rows? Set Rows to whatever number you want and it will only display that certain number of Browse buttons to let users to pick files to upload. Normally this is how we set max number of files to upload.

Feel free to let us know if you have more questions.
Thanks
Craig
Posted: Saturday, June 30, 2007 12:32:39 PM
Rank: Member
Groups: Member

Joined: 6/8/2007
Posts: 13
I noticed the 'Rows' property, but that appeared to only display x number of upload paths, once these are populated and uploaded, you can reload another x items.

I would like to try and limit the Uploader, so that once a total of x items are uploaded, then the Uploader becomes disabled.

Is this possible? or would i have to do a check after each upload action?

Thanks in advanced

Craig
eo_support
Posted: Saturday, June 30, 2007 12:57:19 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Oh, I see what you are saying.
That sounds like you have to put your own code behind it. In server side FileUploaded handler, you can check how many files you already got and see if you need to allow users to upload more.
We may be able to put this type of restriction in future version.

Thanks.
Craig
Posted: Saturday, June 30, 2007 1:02:17 PM
Rank: Member
Groups: Member

Joined: 6/8/2007
Posts: 13
Thats what i thought, but thought i had better check.

Cheers
Craig


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.