Upload without PostBack

Last post 07-19-2016, 11:09 AM by ran5l. 3 replies.
Sort Posts: Previous Next
  •  07-16-2016, 12:57 PM 83830

    Upload without PostBack

    Hi,

    In the Features list for ASP Uploader it states, "Supports AJAX Uploads without PostBack" but I can't find a demo of how to use this feature.

    • https://aspuploader.com/document/ 
    • Getting Started > Features

    Any suggestion will be appreciated, thanks! 

     

  •  07-18-2016, 8:01 AM 83837 in reply to 83830

    Re: Upload without PostBack

    Hi,

     

    Please check demo page "ajax-attachments.asp", it does not need to do the post back of current page, and you can handle the upload file from the handler file.

     

    regards,

     

    Ken 

  •  07-18-2016, 9:05 AM 83840 in reply to 83837

    Re: Upload without PostBack

    Thanks Ken, that's exactly what I need. Yamas!
  •  07-19-2016, 11:09 AM 83844 in reply to 83837

    Re: Upload without PostBack

    I'm delighted because I'm uploading files using ajax and my page form isn't being disturbed.

     

    But

     

    I'm renaming the uploaded files in the file azax-multiplefiles-handler.asp. How can I pass the NEW filename back to the original script in order to display the image thumbnail?

     

    Many thanks

     

    PS. I've done a workaround with a separate ajaz request to pick up a session variable left behind by ajax-multiplefiles-handler.asp when I click a button on the page. It works but it's horrible - how can I get my javascript function to be triggered when the upload is complete?And I bet the answer is very easy!

View as RSS news feed in XML