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

ImageUploader.FileIsTooLargeText Property

Supported in: ActiveX , Java

Text which appears instead of the description text field if the file exceeds the MaxFileSize value.

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("FileIsTooLargeText", "File is too large");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setFileIsTooLargeText(value);
value = getImageUploader("ImageUploaderID").getFileIsTooLargeText();

Property Value

A string value that specifies a text which appears instead of the description text field if the file exceeds maximum file size limit.

Default value is "File is too large".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Manual

Reference