This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.ProgressDialogEstimatedTimeText Property

Supported in: ActiveX , Java

Caption of the label on the progress dialog which displays estimated time of upload.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("ProgressDialogEstimatedTimeText", "Estimated time: [Current] of [Total]");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setProgressDialogEstimatedTimeText(value);
value = getImageUploader("ImageUploaderID").getProgressDialogEstimatedTimeText();

Property Value

A string value that specifies a caption of the label on the progress dialog which displays estimated time of upload (both total time and how much is left).

To be able to display additional information in this dialog (like the total time and the time left), special keywords are used:

[Current]
replaced by the estimation of how much time is left.
[Total]
replaced by the estimation of the total upload time.
Note

Some of the HoursText, MinutesText, or SecondsText values is automatically appended to time values.

Default value is "Estimated time: [Current] of [Total]".

Remarks

Estimation of upload may be quite inaccurate in the beginning of the upload (by design). The more data is uploaded, the more precise estimation will be. Also, estimation is less accurate when client-side thumbnail generation is enabled.

This property is necessary for localization of Image Uploader.

See Also

Manual

Reference