FileDownloader.ProgressDialogDataAmountText Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Caption of the progress dialog label that specifies how much data have been already received.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var fd = new FileDownloaderWriter("FileDownloaderID", 610, 500);
//...other params...
fd.addParam("ProgressDialogDataAmountText", "[Current] of [Total]");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setProgressDialogDataAmountText(value);
value = getFileDownloader("FileDownloaderID").getProgressDialogDataAmountText();

Property Value

A string value that specifies a caption of the progress dialog label displaying how much data have already been received.

Two special keywords are used in this text label:

[Current]

Replaced with the value of how much data is received (in kilobytes or megabytes).

[Total]

Replaced with the value of how much data should be received (in kilobytes or megabytes).

Note

The P:FileDownloader.KilobytesText or P:FileDownloader.MegabytesText value is automatically appended to the number of bytes.

Default value is "[Current] of [Total]".

Remarks

This property is necessary for localization of File Downloader.

See Also

Reference