Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to download Word file in asp.net with internet explorer and google crome ?
i have made a one application this application is successful run with Mozilla Firefox but don't run with internet explorer and google chrome.
Posted
Comments
Jeffrey Enzo 15-Apr-11 2:41am    
Provide more information, such as your errors in IE and Chrome
Pratham4950 15-Apr-11 5:29am    
No, nothing error, just blank display....
Pratham4950 15-Apr-11 6:04am    
i have made a simple download Microsoft word 2007 files application. when user click the button then download the word file. This application in Mozilla Firefox is completely work but it is not work in internet explorer and Google chrome.
m@dhu 15-Apr-11 2:42am    
not clear.
Pratham4950 15-Apr-11 5:36am    
i have made a simple download Microsoft word 2007 files application.
when user click the button then download the word file.
This application in Mozilla Firefox is completely work but it is not work in internet explorer and Google chrome.

1 solution

Have a look at this link that shows how to force the "Save as..." dialog. The reason that the file isn't downloading is because it is a known file type and opened with the registered handler for that type.
http://www.haiders.net/post/Force-File-Download-with-ASPNET.aspx[^]

Good luck!
 
Share this answer
 

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