有没有办法在没有框架的asp.net网页上显示PDF?

时间:2021-10-31 21:07:34

I have a PDF document that needs to be pulled up in the browser, edited, and saved. I can save via the embedded adobe toolbar, along with all the other acrobat functions. But, what I am trying to see is if there is a way to display the PDF in a webpage alongside web controls.

我有一个PDF文档需要在浏览器中提取,编辑和保存。我可以通过嵌入式adobe工具栏以及所有其他acrobat功能进行保存。但是,我想看到的是,是否有办法在网页控件旁边的网页中显示PDF。

For example, in the top part of the webpage I have a dropdownlist. It has a list of PDFs. I select one and the bottom part of the webpage opens up with the PDF.

例如,在网页的顶部我有一个下拉列表。它有一个PDF列表。我选择一个,网页的底部打开PDF。

Thanks.

4 个解决方案

#1


This is typically done with an iframe.

这通常使用iframe完成。

#2


Are you looking for something like Scribd's iPaper viewer?

你在寻找像Scribd的iPaper查看器这样的东西吗?

You can embed it on your site or host with them.

您可以将其嵌入您的网站或与他们托管。

#3


Sorry, you'll have to use either Frames, or iFrames. Perhaps you can also get it via an <object> tag, but that might get browser-specific.

抱歉,您必须使用Frames或iFrames。也许您也可以通过标签获取它,但这可能会特定于浏览器。

#4


I would contact the people at ceTe (makers of DynamicPDF). Their product permits you to dynamically replace your page output with a PDF file but this involves changing the entire page (the mime-type will be pdf). Is it possible to output the page to a panel instead? I don't think so, but they would be the people I would turn to.

我会联系ceTe(DynamicPDF的制造商)的人。他们的产品允许您使用PDF文件动态替换页面输出,但这涉及更改整个页面(mime类型将为pdf)。是否可以将页面输出到面板?我不这么认为,但他们会成为我会转向的人。

#1


This is typically done with an iframe.

这通常使用iframe完成。

#2


Are you looking for something like Scribd's iPaper viewer?

你在寻找像Scribd的iPaper查看器这样的东西吗?

You can embed it on your site or host with them.

您可以将其嵌入您的网站或与他们托管。

#3


Sorry, you'll have to use either Frames, or iFrames. Perhaps you can also get it via an <object> tag, but that might get browser-specific.

抱歉,您必须使用Frames或iFrames。也许您也可以通过标签获取它,但这可能会特定于浏览器。

#4


I would contact the people at ceTe (makers of DynamicPDF). Their product permits you to dynamically replace your page output with a PDF file but this involves changing the entire page (the mime-type will be pdf). Is it possible to output the page to a panel instead? I don't think so, but they would be the people I would turn to.

我会联系ceTe(DynamicPDF的制造商)的人。他们的产品允许您使用PDF文件动态替换页面输出,但这涉及更改整个页面(mime类型将为pdf)。是否可以将页面输出到面板?我不这么认为,但他们会成为我会转向的人。