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

ImageUploader.IncludeSubfolders Property

Supported in: ActiveX , Java

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

Syntax

Initialize

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

Manual

Reference