Aurigma Image Uploader 5.8 Dual
ImageUploader.CheckFilesBySelectAllButton Property
See Also Supported in: ActiveX Java

Switch that defines behavior of the Select All and Deselect All buttons (whether this button should check/uncheck or select/deselect files when clicked).

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("CheckFilesBySelectAllButton", "false");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setCheckFilesBySelectAllButton(value);
    value = getImageUploader("ImageUploaderID").getCheckFilesBySelectAllButton();

##### Property Value

A boolean value (`true` or `false`). If `true`, Select All buttons check files/add to upload list and Deselect All unchecks files/removes from upload list. If `false`, these buttons just set/clear selection on items in the list.

Default value is "false".

# Remarks

If you use this property, you can make this button to check the files (or put them to the upload list) immediately, unlike the default behavior when files are selected only, and the user must select at least one file or drag and drop them to the upload list.

Note
The behavior of the SelectAll method is not changed (for the security reasons). Behavior of the Deselect All button is changed to be symmetrical (uncheck the files instead of the clearing the selection).

# See Also

##### Examples

Security Approach in Image Uploader

##### Reference

SelectAll Method