如何在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[^]