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

Switch that specifies whether to display subfolders in the folder pane along with files.

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

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setShowSubfolders(value);
    value = getImageUploader("ImageUploaderID").getShowSubfolders();

##### Property Value

A boolean value (`true` or `false`). If `true`, subfolders are visible in the folder pane, otherwise only files are displayed.

Default value is "false".

# Remarks

When subfolders are visible the user can navigate to these subfolders by double-clicking them. You can use the AllowFolderUpload property to configure Image Uploader to select whole folders for upload.

# See Also

##### Examples

Uploading Folders

##### Reference

AddFolderDialogButtonCancelText Property
AddFolderDialogButtonSkipAllText Property
AddFolderDialogButtonSkipText Property
AddFolderDialogTitleText Property
AddFolders() Method
AllowFolderUpload Property
IncludeSubfolders Property