Switch that indicates whether to open the file in associated viewer software when it is double-clicked in both folder and upload pane.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("EnableFileViewer", "true"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setEnableFileViewer(value); value = getImageUploader("ImageUploaderID").getEnableFileViewer();
A boolean value (true
or false
). If true
, the file is opened in the external file viewer by double-click.
Otherwise, double-click causes nothing.
Default value is "true".
If subfolders are shown in folder pane (ShowSubfolders is true
) double-clicking subfolders
navigates to them regardless of EnableFileViewer and AllowFolderUpload
properties.