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

ImageUploader.ProgressDialogSentText Property

Supported in: ActiveX , Java

Caption of the label on the progress dialog which specifies how many files have already been sent.

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("ProgressDialogSentText", "Bytes sent: [Current] of [Total]");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setProgressDialogSentText(value);
value = getImageUploader("ImageUploaderID").getProgressDialogSentText();

Property Value

A string value that specifies a caption of the label on the progress dialog which specifies how many files have already been sent.

To be able to display additional information in this dialog (like the total amount of data and the amount of data to be sent), special keywords are used:

[Current]
replaced by the number of bytes currently uploaded.
[Total]
replaced by the total number of bytes which should be sent in this upload session.
Note

KilobytesText or MegabytesText value is automatically appended to the number of bytes.

Default value is "Bytes sent: [Current] of [Total]".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Manual

Reference