打开文件(pdf / office / image),不打开或保存对话框 [英] Opening file(pdf/office/image) without Open or Save dialog box
本文介绍了打开文件(pdf / office / image),不打开或保存对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
我想在浏览器中打开pdf / office / image类型的文件而不显示save dialoge框。您是否知道在C#asp.net中实现它。
解决方案
您需要Content-Disposition
inline
inResponse Header
。
示例如下所示...
1. 如何使用浏览器打开文件asp.net c#代码 [ ^ ]。
2. Re:在Web浏览器中打开内联文件,ASP.NET [ ^ ]。
3. Asp.net使用C#,VB.NET在Web浏览器中打开PDF文件 [ ^ ]。
hi I want to open file of type pdf/office/image in browser without showing up the save dialoge box. Have you got any idea on implementing it in C# asp.net.
解决方案
You need to haveContent-Disposition
asinline
inResponse Header
.
Example given below...
1. How to open a file from browser by using asp.net c# code[^].
2. Re: Open inline files in web browser, ASP.NET[^].
3. Asp.net Open PDF File in Web Browser using C#, VB.NET[^].
这篇关于打开文件(pdf / office / image),不打开或保存对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文