How can I detect when a file download has completed in ASP.NET?

前端 未结 6 1162
太阳男子
太阳男子 2021-01-31 21:23

I have a popup window that displays \"Please wait while your file is being downloaded\". This popup also executes the code below to start the file download. How can I close th

6条回答
  •  孤独总比滥情好
    2021-01-31 22:01

    Some hacks are around that involves knowing when the last piece of the buffer has been sent or checking the HttpResponse.IsClientConnected property.

提交回复
热议问题