ActiveX/Java Uploader has two different-looking layouts that determine its appearance. To specify which one of them should be used, set the Uploader.PaneLayout property.
This is a default layout which consists of three panes:
Both the tree and upload panes are collapsible.
ActiveX/Java Uploader displays this layout when the Uploader.PaneLayout property is ThreePanes.
<aur:Uploader ID="Uploader1" runat="server"
PaneLayout="ThreePanes" />
$uploader = new Uploader("Uploader1");
$uploader->setPaneLayout("ThreePanes");
var u = $au.uploader({
id: 'Uploader1',
paneLayout: 'ThreePanes'
});
To upload files in this layout, follow these steps:
The one pane layout is more minimalistic than a default one. Here ActiveX/Java Uploader displays only the upload pane representing a list of files selected for upload.
To specify this layout set the Uploader.PaneLayout property to the OnePane value:
<aur:Uploader ID="Uploader1" runat="server"
PaneLayout="OnePane" />
$uploader = new Uploader("Uploader1");
$uploader->setPaneLayout("OnePane");
var u = $au.uploader({
id: 'Uploader1',
paneLayout: 'OnePane'
});