views:

248

answers:

2

I have a requirement to display word document in ASP.NET form. Also, the original word format has to be retained. In a nutshell i have to embed a word document in a web form programatically. Can someone please help.

A: 

If all the clients that are browsing the site are going to have Word installed and use Internet Explorer, you could embed it with an ActiveX object. If these requirements are not met you might need to convert it to some more standard format that a browser is capable of displaying such as a jpeg image. You may also look at this option.

Darin Dimitrov
thanks for the answer.
A: 

There are html embed tag options to embed pdfs into the html page. So probably you need to convert the doc into pdf before.

Check here. http://blog.flashcolony.com/?p=244

This works for me. But may need newer versions of Adobe Reader.

Xinxua