使用Internet Explorer和Google Crome在asp.net中下载Word文件 [英] Word file download in asp.net with internet explorer and google crome

查看:95
本文介绍了使用Internet Explorer和Google Crome在asp.net中下载Word文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Internet Explorer和Google Crome在asp.net中下载Word文件?
我已经制作了一个应用程序,该应用程序可以在Mozilla Firefox上成功运行,但是不能与Internet Explorer和google chrome一起运行.

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.

推荐答案

看看这个链接该页面显示了如何强制另存为..."对话框.无法下载文件的原因是因为它是已知文件类型,并使用该类型的已注册处理程序打开.
http://www.haiders.net/post/Force-File-Download-with- ASPNET.aspx [ ^ ]

祝你好运!
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!


这篇关于使用Internet Explorer和Google Crome在asp.net中下载Word文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆