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

ImageUploader.MaxDescriptionTextLength Property

Supported in: ActiveX , Java

Maximum allowed number of characters in descriptions entered by the user.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setMaxDescriptionTextLength(value);
value = getImageUploader("ImageUploaderID").getMaxDescriptionTextLength();

Property Value

A positive value which specifies description length limitation. It cannot be larger than 4000.

Default value is "500".

See Also

Reference