Switch that specifies whether Stop, Select All, Deselect All, and Send buttons should be visible.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("ShowButtons", "true"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setShowButtons(value); value = getImageUploader("ImageUploaderID").getShowButtons();
A boolean value (true
or false
). If true
,
buttons are visible, otherwise - hidden.
Default value is "true".
The upload list buttons are manipulated by the ShowUploadListButtons property.
If you do not want to display standard buttons of Image Uploader, you can make your own buttons in the HTML code. Image Uploader provides all the methods which work as if you clicked an appropriate button. Just call the Stop(), SelectAll(), DeselectAll(), and Send() methods when the user clicks an appropriate button.
If you want to hide only certain buttons (e.g. only Send button), set the appropriate button text to an empty string. If all buttons on this panel are made invisible, entire panel is hidden.