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)

C# Corner Annual Conference 2017

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!