Switch that specifies whether to hide Image Uploader progress bar and all the messages during the upload.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("SilentMode", "false"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setSilentMode(value); value = getImageUploader("ImageUploaderID").getSilentMode();
A boolean value (true
or false
). If true
,
the progress dialog and messages are not displayed, and the only way to show the progress
bar and error messages is to implement it yourself.
Otherwise Image Uploader displays the standard progress dialog and error messages.
Default value is "false" (progress window is visible).
Another situation when it makes sense to use this property is when AdvancedDetails
view mode is used.
In this case progress bar is displayed directly on the upload pane and there is no need to display a separate
progress dialog.