Direct Amazon Uploader - PostBack after UploadComplete

Jan 28, 2009 at 5:08 PM

I am using the ConfirmUpload event to save the file to the database, and after that I need to cause a PostBack to update a GridView. I have tried using the FileStateChanged to force a PostBack (use javascript to click a button, which binds the grid), but FileStateChanged happens before ConfirmUpload, not to mention that the ConfirmUpload event never fires because of the PostBack. So basically, I'm wondering if there is any way I can cause a PostBack after ConfirmUpload has fired. Thanks in advance.

-- Ryan Triggs
Jan 28, 2009 at 6:20 PM
I have added ConfirmUploadJsFunc property that you can use like that:
    function ConfirmUploadJsFunc(r){
        alert("ConfirmUploadJsFunc: isError:"+r.isError+",isLast:"+r.isLast+",httpStatus:"+r.httpStatus+
                ",index:"+r.index+",bytes:"+r.bytes+",name:\"""\", changedName:\""+r.changedName+"\"");
<fjx:FileUploader ID="FileUploader1" runat="server">
            BucketName=""  />

Get the latest source from same place.
Jan 28, 2009 at 6:22 PM
Awesome! Thanks!