Switch that indicates whether the Download button is enabled or disabled.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var fd = new FileDownloaderWriter("FileDownloaderID", 610, 500); //...other params... fd.addParam("Enabled", "true"); //...other params... fd.writeHtml(); </script>
getFileDownloader("FileDownloaderID").setEnabled(value); value = getFileDownloader("FileDownloaderID").getEnabled();
A boolean value (true
or false
). If true
, the user can click the Download button and download files. If false
, the button is disabled.
Default value is "true".
Use this property if you need to disable the Download button for some reason, for example, if the file list is not yet created or if the user does not have enough permissions to download files.