Aurigma Image Uploader 4.8 Dual
ImageUploader.AddFolders Method
See Also Supported in: ActiveX Java

Opens the standard Open Folder dialog so that the user can select the folder for the upload. In other words it works in the same manner as if the Add Folders button were clicked.

# Syntax

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").AddFolders();

# Remarks

User can specify whether to add subfolders to the upload list using the checkbox Include Subfolders. The caption of this checkbox can be modified with the IncludeSubfoldersText property.

This method adds all the files in the selected folder(s) which meet requirements specified with the FileMask and other file limitation properties.

Note
This method works only if the PaneLayout property is set to the `OnePane`. For other layouts this method do nothing.

# See Also

##### Examples

Customizing Buttons

##### Reference

ButtonAddFoldersText Property
AddFiles Method
AddFolderDialogButtonCancelText Property
AddFolderDialogButtonSkipAllText Property
AddFolderDialogButtonSkipText Property
AddFolderDialogTitleText Property
AllowFolderUpload Property
ShowSubfolders Property