Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
In my project, when i do Response.redirect(file); , It shows download box for the files which are not supported by browsers but for supported files it shows them in browser itself instead of downloading. I want to open download box for all types of file. How can i do so?


Thanks!
Posted
Updated 5-Apr-11 20:53pm
v3

1 solution

Hope Link1[^] and Link2[^] might help you.
 
Share this answer
 
v2
Comments
zan0701 6-Apr-11 2:55am    
It throws System.WebForms.PageRequestmanagerParserErrorException.
zan0701 6-Apr-11 3:36am    
It worked!
That exception was because of Update Panel.
Thanks!
[no name] 6-Apr-11 3:44am    
Its my pleasure.

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