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

ImageUploader.ShowSubfolders Property

Supported in: ActiveX , Java

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

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

Get/Set Value in Runtime

JavaScript
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

Manual

Reference