FileDownloader.DownloadCompleteAction Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

The action that will be performed after download completion.

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("DownloadCompleteAction", "0");
//...other params...
fd.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getFileDownloader("FileDownloaderID").setDownloadCompleteAction(value);
value = getFileDownloader("FileDownloaderID").getDownloadCompleteAction();

Property Value

A member of the following enumeration that specifies the action to be performed on download completion.

String Value Integer Value Description
ActionNone 0 No action.
Prompt 1 Prompt if the user wants to open the download folder.
OpenFolder 2 Open the download folder.
Note

When you get this property value via JavaScript, an integer value will be returned (even if the property is initialized with a string value).

Default value is "0".

See Also

Reference