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

Syntax

Initialize
JavaScript CopyCode imageCopy Code
<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 CopyCode imageCopy Code
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
AllowMultipleRemove Property
RemoveIconImageFormat Property
RemoveIconTooltipText Property