Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I use DotNetZip Library To Create Zip and Download File as a Zip File then, I want To Redirect or Refresh Same PAge in Code behind, How Can i Do that(In Same PostBack)

ex:
C#
zip.Save(Response.OutputStream);
Response.Redirect(url,false);

I want to Refresh Page After Downloading file,but It doesnt refresh if i use
C#
Response.Redirect()
Posted
Updated 9-Sep-14 22:27pm
v2
Comments
[no name] 22-Sep-14 5:38am    
you could use location.reload(), if you have scope to make an ajax call for this post method of downloading the file, on success you could use this.

1 solution

 
Share this answer
 
Comments
amnk.info 10-Sep-14 3:21am    
thanks for your reply. i want to do this task in same page.
Gihan Liyanage 10-Sep-14 3:37am    

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