如何在ASP.net表单旁边打开PDF和Word文档 [英] How to Open PDF and Word Document In side the ASP.net Form

查看:83
本文介绍了如何在ASP.net表单旁边打开PDF和Word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在ASP.Net表单中查看PDF和Word文档,

有谁知道怎么做?

是否有免费的文档查看器库?



谢谢

Udara

解决方案

PDF

如何使用ASP.NET在Web浏览器中打开PDF文件 [ ^ ]

如何使用ASP.NET显示PDF文档 [ ^ ]



Word

在ASP.Net的网页上显示Word文档 [ ^ ]

如何从ASP.NET应用程序打开Word文档 [ ^ ]


我们无法在Aspx页面中加载word文档,因此没有控件/查看器。您可以使用IFrame控件但在此之前您需要将word文件转换为HTML然后您可以显示它。

请参阅下面的链接,PDF查看器控件

ASP.NET文档查看器 - 显示PDF,Word,Excel& amp;用于Visual Studio 2012的C#中的50多种其他类型的文档 [ ^ ]

ASP.NET AJAX支持的WebForms PDF查看器 [ ^ ]

I want view PDF and Word document inside the ASP.Net form,
Is anyone knows how to do this ?
Is there any license free document viewer library ?

Thanks
Udara

解决方案

PDF
How to Open PDF Files in Web Brower Using ASP.NET[^]
How to Display PDF documents with ASP.NET[^]

Word
Display Word document on web page in ASP.Net[^]
How to open a Word document from an ASP.NET application[^]


we can not load word document in Aspx page, there is no control/viewer exist for that. you can use IFrame control but before that you need to convert word file to HTML and then you can show it.
see below links, for PDF viewer controls
ASP.NET Document Viewer – Display PDF, Word, Excel & 50+ Other Types of Document in C# for Visual Studio 2012[^]
ASP.NET AJAX-Powered WebForms PDF Viewer[^]


这篇关于如何在ASP.net表单旁边打开PDF和Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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