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
Examples
Specifying Restrictions for Size and Number of FilesOpen File Dialog Sample
Reference
AllowMultipleSelection PropertyFileIsTooLargeText Property
FileIsTooSmallText Property
MaxFileSize Property
MaxTotalFileSize Property
MessageFileSizeIsTooSmallText Property
MessageMaxFileCountExceededText Property
MessageMaxFileSizeExceededText Property
MessageMaxTotalFileSizeExceededText Property
MinFileSize Property
TotalFileSize Property
UploadFileCount Property
UploadFileCountChange Event