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

ImageUploader.DescriptionsReadOnly Property

Supported in: ActiveX , Java

Indicator which specifies whether the user is allowed to edit descriptions.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setDescriptionsReadOnly(value);
value = getImageUploader("ImageUploaderID").getDescriptionsReadOnly();

Property Value

A boolean value (true or false). If true, descriptions cannot be modified by the user (but can be edited programmatically through the script). Otherwise, the user can modify the descriptions.

Default value is "false".

See Also

Manual

Reference