Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

UpdateProgress not working during Download File from server

$
0
0

I have Download button with in the Updatepanel, When I download the file from the server , the updateprogess contents are loaded in the winow(say eg. Loading Image), But even after download completes from server the updateprogess controls are still visible (say Loading image running continously until refresh window)

When i remove the below lines from server everything works fine,

Dim response As HttpResponse = HttpContext.Current.Response
response.AddHeader("content-disposition", "attachment;filename=" & filename)
response.ContentType = Export_ContentType
response.TransmitFile(DownloadFileName)
response.End()

Pls update me a solution for this fix...

Regards

Simil


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>