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

Syntax

Initialize
JavaScript CopyCode imageCopy 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 CopyCode imageCopy 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 you can configure Image Uploader not just to navigate folders, but also to select whole folders to the upload list. To do this, use the AllowFolderUpload property.

See Also

Reference
AddFolderDialogButtonCancelText Property
AddFolderDialogButtonSkipAllText Property
AddFolderDialogButtonSkipText Property
AddFolderDialogTitleText Property
AddFolders Method
AllowFolderUpload Property