javascript - Which event to bind to after browser's window.location receives a file from the web server? -
i using window.location download file web server. process on server create file takes while , display progress bar in browser.
the code line after window.location hides progress bar executes right after window.location executes immediately, therefore progress bar doesn't show.
how show progress bar until browser gets file? there event fires when happens? attach event , that's can hide progress bar.
addition:
window.location going asp.net mvc action method (same app) returns filestreamresult.
Comments
Post a Comment