Click here to Skip to main content
16,018,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

In my webpage, i have a uploading process there in a pop up panel and once the upload is complete, the dodownload fucntion will call to download the file but the problem is my pop up modal doesn't close after the download.

can anyone also encountered this problem?. can you help me please?
Posted

1 solution

Can you give the example to have properly understanding
 
Share this answer
 
Comments
Cuculala 6-Aug-14 5:42am    
heres my code for downloading

httpcontext.current.response.contentType="....."
httpcontext.current.response.appendheader(".....")
httpcontext.current.response.clear
httpcontext.current.response.writefile(filepath)
httpcontext.current.applicationinstance.completerequest()

its good but the thing is after this function, the panel is not closing.
i think it ends the process so that the page didnt load

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900