Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it really possible to open a word document in the iframe like a .pdf file?
If yes please help me to get the code.I tried in many ways but no browser support this.This is what i get after searching a lot,i may or may not be correct.Please help me..I have a very urgent requirement in my project.


(I have tried all types of code which available in many websites,blogs,Googled many ways but i didn't get)
Posted

1 solution

Even the PDF is not guaranteed to be supported on all systems and browser. For example, I'm writing these words on system where I uninstalled in-browser PDF viewer. In your Web application, you should never assume such support is guaranteed; not to worry: the user can safe the document or open it in a separate process by the application which may or may not be available at the moment. This is only fair.

Same thing goes about Word documents. These days, the public standard for document format is available, but it's not a Web standard which a browser should support. Moreover, none of the well-known browsers do not support office documents. You should either let the use handle the file in a usual way, or you should somehow present the document as HTML. If you want to consider it, please see my past answers:
Convert Office-Documents to PDF without interop[^],
Need a rather unique WPF text editor control[^],
Hi how can i display word file in windows application using c#.net[^],
Read a word file without using Interop.word dll...Do not want to install word in IIS..[^],
Microsot office Interop[^],
Question Convert word to PDF without offce or openoffice[^].

Sorry, not all answers are 100% relevant. You can use either Office interop, Open XML SDK.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900