Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

Uploader.AfterSendRequest Event ActiveX/Java Uploader

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

This event fires when the current POST request was uploaded successfully.

Syntax

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

Remarks

Depending on the upload settings (UploadSettingsUploadSettings (ASP.NET)UploadSettings (PHP)uploadSettings (JavaScript) configuration), the currently uploaded POST request can contain:

See Also

Reference

Manual