This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.AddFolders Method

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
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

Manual

Reference