Customer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 
This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploaderFlash.AfterUpload Event

This event fires after a successful upload.

Syntax

ASP.NET
<script type="text/javascript">
function ImageUploaderFlash1_AfterUpload(response){
    //...your code...
}
</script>
<aur:ImageUploaderFlash ID="ImageUploaderFlash1" runat="server">
    <ClientEvents>
        <aur:ClientEvent EventName="AfterUpload" HandlerName="ImageUploaderFlash1_AfterUpload" />
    </ClientEvents>
</aur:ImageUploaderFlash>
PHP
<script type="text/javascript">
function ImageUploaderFlash1_AfterUpload(response){
    //...your code...
}
</script>
<?php
    $ImageUploaderFlash = new ImageUploaderFlash("ImageUploaderFlash1");
    //...other params...
    $ImageUploaderFlash->getClientEvents()->setAfterUpload("ImageUploaderFlash1_AfterUpload");
    //...other params...
    $ImageUploaderFlash->render();
?>
JavaScript
function ImageUploaderFlash1_AfterUpload(response){
    //...your code...
}
$au.imageUploaderFlash({
    events: {
        //...other params...
        afterUpload: [ImageUploaderFlash1_AfterUpload],
        //...other params...
    }
})

Parameters

response

Type: String

The HTML code of the page returned from the server-side upload script.

See Also

Reference

Manual