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

ImageUploader.PaneLayout Property

Supported in: ActiveX , Java

Layout of Image Uploader panes.



<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("PaneLayout", "ThreePanes");
//...other params...

Get/Set Value in Runtime

value = getImageUploader("ImageUploaderID").getPaneLayout();

Property Value

A member of the following enumeration that specifies layout of Image Uploader panes:

String valueInteger valueDescription
OnePane0 Single upload list. You can drag-n-drop the necessary files from the Windows Explorer to this list. Also you can add files and folder using Add Files and Add Folders buttons respectively.
TwoPanes1 Folders tree + folder view (a list of the files in the selected folder). Each file has a checkbox which you need to check to select this file for upload.
ThreePanes2 Folders tree + folder view + upload list. Drag-n-drop the necessary files from the folder view or Windows Explorer to the upload list. Also you can use special buttons to do this.

When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).

Default value is "ThreePanes".


Keep in mind that Image Uploader is not designed to switch between layouts in run-time.

See Also