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

ImageUploader.MaxFileCount Property

Supported in: ActiveX , Java

Maximum number of files allowed for upload per one session.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setMaxFileCount(value);
value = getImageUploader("ImageUploaderID").getMaxFileCount();

Property Value

A non-negative integer value that specifies maximum file count allowed for upload per one session. If the value is 0 then there is no limit.

Default value is "0" (no limit).

Remarks

This property makes sense only if the AllowMultipleSelection property is true.

See Also

Manual

Reference