如何在iframe中显示word doc并使用ASP.NET保存到位置

问题描述:

大家好,



如何在iframe中显示word doc并使用asp.net保存到位置



我尝试了什么:



我尝试使用IFrame,但它没有在i框架内显示,显示为完整页面open save dialouge。

Hi All,

How to display word doc in iframe and save to location using asp.net

What I have tried:

I tried with IFrame but it is not showing inside the i frame, showing as complete page with open save dialouge.

Web浏览器不知道DOC文件。你需要转换为HTML或PDF。



问题:MS WORD负责渲染DOC,要求word转换为HTML或PDF然后更简单在iframe中显示该文件。
DOC files are not known by the web browsers. you need to transform to HTML or PDF.

Problem: MS WORD is responsible of rendering the DOC, it is simpler to ask word to transform to HTML or PDF and then display that file in iframe.