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

ImageUploader.AllowMultipleRemove Property

Supported in: ActiveX , Java

Switch that specifies whether clicking on a remove icon of a list item will remove all selected items.

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("AllowMultipleRemove", "false");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setAllowMultipleRemove(value);
value = getImageUploader("ImageUploaderID").getAllowMultipleRemove();

Property Value

A boolean value (true or false). If true, when the user clicks the remove icon on the thumbnail, all selected items will be removed from upload list. Otherwise Image Uploader will remove only the item an icon is clicked at.

Default value is "false".

See Also

Reference