This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.ShowButtons Property

Supported in: ActiveX , Java

Switch that specifies whether Stop, Select All, Deselect All, and Send buttons should be visible.

Syntax

Initialize

JavaScript
<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>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setShowButtons(value);
value = getImageUploader("ImageUploaderID").getShowButtons();

Property Value

A boolean value (true or false). If true, buttons are visible, otherwise - hidden.

Default value is "true".

Remarks

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.

See Also

Manual

Reference