Aurigma Image Uploader 6.5 Dual
ImageUploader.MinFileCount Property
Minimum 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("MinFileCount", "1"); //...other params... iu.writeHtml(); </script>
Get/Set Value in Runtime
JavaScript
getImageUploader("ImageUploaderID").setMinFileCount(value);
value = getImageUploader("ImageUploaderID").getMinFileCount();Property Value
A non-negative integer value that specifies minimum file count allowed for upload per one session.
Default value is "1".
Remarks
If the value of this property is 0 and user clicks the Send button without any file in the upload list, the POST request contained only the upload information and custom additional fields will be sent. For more information about the additional fields read the POST Field Reference topic.