AjaxUploader: Prevent Hiding of Custom Queue Table

Last post 02-22-2010, 7:21 PM by cutechat. 3 replies.
Sort Posts: Previous Next
  •  02-22-2010, 9:08 AM 58888

    AjaxUploader: Prevent Hiding of Custom Queue Table

    I am using Example 1 from the 'Create a custom queue table' from the AjaxUploaderDeveloperGuide.
     
    The code sample works great, however once all the files are uploaded the table disappears. I am trying to add some new form fields to the table in javascript so that the user can enter some additional details for each of the files while the files are being uploaded. If the table disappears when the upload is complete I won't be able to use those fields to post back to the server and the user won't be able to finish entering their details.
     
    I don't see anything in the javascript in that example that is doing the actual hiding of the table, so I'm assuming it is something within the control that is doing it. Is this something I can prevent or it is it just part of the way it functions?
     
    I also tried using Example 2, however it doesn't render on the screen until all the files have finished uploading. If there is some way to modify this behaviour I wouldn't be opposed to taking that route instead.
     
    Thanks in advance for your help,
     
    - John
  •  02-22-2010, 11:45 AM 58894 in reply to 58888

    Re: AjaxUploader: Prevent Hiding of Custom Queue Table

    I just realized that the page is doing a postback after the files are finished uploading, which is most likely why the table (that is built in javascript) is disappearing.
     
    So the next question is now, can I prevent the control from doing a postback when it is done uploading all of the files?
     
    - John
  •  02-22-2010, 1:30 PM 58899 in reply to 58894

    Re: AjaxUploader: Prevent Hiding of Custom Queue Table

    Issue resolved...
     
    I stuck the UploadAttachments control inside its own update panel and now my javascript built queue sticks around after the files have finished uploading.
  •  02-22-2010, 7:21 PM 58909 in reply to 58899

    Re: AjaxUploader: Prevent Hiding of Custom Queue Table

    Hi
     
    That's a good job.
     
    Regards,
    Terry
View as RSS news feed in XML