Hi there,
I have a web form which does a full page postback when a button is clicked. This is caused by an update panel trigger.
Client-Side:
When the button is clicked, an animation gif is displayed
Server-Side:
When the button is clicked, the server side event changes the content type to excel, binary writes out excel content (byte array) and does Response.Flush() and Response.End()
Client-Side:
User is asked to either open or download the excel file. Animation gif is still displayed.
Question:
How can I detect client side (using jQuery or Ajax) that the response has been completed. There is no page postback because the code-behind has cut off the response by using Response.End().
I'm stumped with this one and can't see a work around so any ideas, tips, help will be appreciated.
Regards,
Brian
...
Go to the complete details ...