## Aurigma Image Uploader 6.1 Dual

# ImageUploader.MaxFileCount Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- 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

### Examples

- Specifying Restrictions for Size and Number of Files
- Open File Dialog Sample

### Reference

- AllowMultipleSelection Property
- FileIsTooLargeText Property
- FileIsTooSmallText Property
- MaxFileSize Property
- MaxTotalFileSize Property
- MessageFileSizeIsTooSmallText Property
- MessageMaxFileCountExceededText Property
- MessageMaxFileSizeExceededText Property
- MessageMaxTotalFileSizeExceededText Property
- MinFileSize Property
- TotalFileSize Property
- UploadFileCount Property
- UploadFileCountChange Event