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

Switch that specifies whether a folder should be added to upload list including its subfolders.

# 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("IncludeSubfolders", "true");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setIncludeSubfolders(value);
    value = getImageUploader("ImageUploaderID").getIncludeSubfolders();

##### Property Value

A boolean value (`true` or `false`). If `true`, folders are added including subfolders. Otherwise only files inside selected folder can be added.

Default value is "true".

# Remarks

This property also affects the Include Subfolders checkbox state in the Open Folder dialog. If it is `true` the check box appears selected, otherwise cleared.

# See Also

##### Examples

Uploading Folders

##### Reference

AddFolderDialogButtonCancelText Property
AddFolderDialogButtonSkipAllText Property
AddFolderDialogButtonSkipText Property
AddFolderDialogTitleText Property
AddFolders() Method
AllowFolderUpload Property
ShowSubfolders Property
IncludeSubfoldersText Property