Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Edited Unassigned: Ajax File Upload - Need to stay below 5 Mb Cumulatively [27632]

$
0
0
The version of the Ajax Control Toolkit is "4.5.7.1005"

I am creating a form which uploads files (jpeg, png, doc, etc) to an email web service.
This web services has 2 constraints:

1. Need to stay below 5 Mb cumulatively with multiple files
2. Max amount of files is 5.

I've figured out Max amount of files with the "get_fileQueueLength();" function.
I've also figured out "get_fileSize();" max of 5 Mb per file.

But staying below 5 Mb cumulatively is the challenge.
Using the JavaScript intellisence I see that there is a "get_filesInQueue" hoping that would give me an accumulative sum of bits. But I do not see any reference to that in source code.
The only reference to anything close to that is in AjaxFileUpload.Control.pre.js
// fields
this._uploadUrl = 'AjaxFileUploadHandler.axd';
this._useHtml5Support = false;
this._elements = null;
this._processor = null;
__this._filesInQueue = [];__
this._isUploading = false;
this._currentFileId = null;
this._canceled = false;

Your help would be appreciated
Thank you in advance


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>