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

ImageUploader.EnableRemoveIcon Property

Supported in: ActiveX , Java

Switch that specifies whether to display remove icons on preview thumbnails.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setEnableRemoveIcon(value);
value = getImageUploader("ImageUploaderID").getEnableRemoveIcon();

Property Value

A boolean value (true or false). If true, remove icon (cross) is visible when the user hovers a mouse pointer over the thumbnail, and therefore the user can remove the image. Otherwise, the icon is not displayed and the user cannot remove images from upload list manually.

Default value is "true".

See Also

Reference