如何在iframe ASP.net中查看pdf文件 [英] How to view pdf files in iframe ASP.net
本文介绍了如何在iframe ASP.net中查看pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
i希望在asp.net(C#)页面中查看iframe中的pdf文件
场景
用户使用文件上传上传pdf然后按查看btn,iframe里面的pdf文件视图
可以任意一个告诉我怎么做?
thx
Hi all
i want to view pdf files in iframe in asp.net(C#) page
the Scenario
the user upload the pdf using file upload then press view btn , the pdf file view inside the iframe
can any one tell me How to do this?
thx
推荐答案
为什么要使用iFrame ..大多数浏览器不支持PDF文档的内联查看。您需要一个自定义解决方案
在客户端或服务器上未安装Acrobat Reader的ASP.NET PDF Viewer用户控件 [ ^ ]
Why do you want to use iFrame.. Most browsers do not support inline viewing of PDF docs. You need a custom solution
ASP.NET PDF Viewer User Control Without Acrobat Reader Installed on Client or Server[^]
这篇关于如何在iframe ASP.net中查看pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文