FileDownloader.FileExistsDialogTimeLeftText Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Text label of the File Exists dialog which displays time left before the default action will be performed.

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("FileExistsDialogTimeLeftText", "Time left: [Current] of [Total]");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setFileExistsDialogTimeLeftText(value);
value = getFileDownloader("FileDownloaderID").getFileExistsDialogTimeLeftText();

Property Value

A string value that specifies a text which appears in the File Exists dialog and displays time left before the default action will be performed.

Two special keywords are used in this text label:

[Current]

Replaced with the value of how much time is left.

[Total]

Replaced with the value of the total waiting time.

Default value is "Time left: [Current] of [Total]".

Remarks

This label appears in the File Exists dialog only if the P:FileDownloader.FileExistsDialogTimeOut property is set to a positive value.

This property is necessary for localization of File Downloader.

See Also

Reference