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

Switch defining the logic of Select All/Deselect All buttons in `TwoPanes` layout.

# 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", "true");
    //...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`, the Select All button checks all files in the folder pane and Deselect All, in its order, unchecks them. If `false`, these buttons just set/clear selection on items in the folder pane.

Default value is "true".

# Remarks

This property makes sense in `TwoPanes` layout only. By default, when the user clicks Select All button Image Uploader checks all files in the folder pane. If this behavior is unacceptable for you, set this property to `false`. In that case Image Uploader will select and deselect files when Select All and Deselect All are clicked.

Note
This property does not affect the SelectAll() method due to security reasons. Call to this method sets selection on folder pane items regardless of the CheckFilesBySelectAllButton property value.

# See Also

##### Examples

Security Approach in Image Uploader

##### Reference

SelectAll() Method