Uploader.FolderChange Event ActiveX/Java Uploader

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

This event fires when a user goes to another folder.

Syntax

ASP.NET
<script type="text/javascript">
function Uploader1_FolderChange(){
    //...your code...
}
</script>
<aur:Uploader ID="Uploader1" runat="server">
    <ClientEvents>
        <aur:ClientEvent EventName="FolderChange" HandlerName="Uploader1_FolderChange" />
    </ClientEvents>
</aur:Uploader>
PHP
<script type="text/javascript">
function Uploader1_FolderChange(){
    //...your code...
}
</script>
<?php
    $Uploader = new Uploader("Uploader1");
    //...other params...
    $Uploader->getClientEvents()->setFolderChange("Uploader1_FolderChange");
    //...other params...
    $Uploader->render();
?>
JavaScript
function Uploader1_FolderChange(){
    //...your code...
}
$au.uploader({
    events: {
        //...other params...
        folderChange: [Uploader1_FolderChange],
        //...other params...
    }
})

Remarks

This event is raised in both cases:

  • A user selected another folder in the tree pane.
  • A user double-clicks a folder in the folder pane (if subfolders are visible, of course).
Note

This event makes sense in ThreePanes layout only.

See Also

Reference

Manual