ASP.NET UpdateProgress not disappearing after redirect to another page -
i have page updatapanel , updateprogress on it. in page redirect download page responsible downloading generated file. redirecting download page occurs in updatepanel via 1 of controls click event. problem after downloading file updateprogress not disappear. (i set contenttype of download page proper mime type)
i found way download file in 1 of events in update panel. used frame this. onclick
event add inline iframe
page address of file.
var script = @" var iframe = document.createelement(""iframe""); iframe.src = '{0}'; iframe.style.display = ""none""; document.body.appendchild(iframe);"; scriptmanager.registerstartupscript(string.format(script, url));
this solved problem.