Forums - C# Corner

Forum guidelines

Embed a word document inside IFrame/Aspx page

Sep 14 2013 10:27 AM
Hi Everyone, I need a help. I want to display a word document inside an aspx page. Currently when i say response.contenttype=application/msword, its asking me to save/open file. But i want to embed this document into web page(say iframe). I dont want to use Interop Lib. And also i should be able to view both doc and docx format. Any pointers? Thanks in advance.

Answers (6)

Startup Conference 2016

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.