Solved

Display word document in asp.net

Posted on 2008-10-31
6
1,351 Views
Last Modified: 2013-12-17
Hi,

I would like to display a word document in an IFRAME on a aspx web page. Is this possible and how can I achieve this task.

If its not possible to do this as a word document, then I may have to convert the file to a PDF file.

Any help on this will be appreciated.

Regards,

introlux
0
Comment
Question by:introlux
  • 3
  • 3
6 Comments
 
LVL 21

Expert Comment

by:silemone
ID: 22850495
0
 
LVL 21

Expert Comment

by:silemone
ID: 22850540
look at this link and it has as the solution exactly what you are looking for...it places word doc in iframe...
http://www.dotnetspider.com/forum/ViewForum.aspx?ForumId=31319
0
 

Author Comment

by:introlux
ID: 22850542
This is using a Visual C# application. I am using a web application that has c# as code behind.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 21

Expert Comment

by:silemone
ID: 22850656
did you check out my last post?

look at this link and it has as the solution exactly what you are looking for...it places word doc in iframe...
http://www.dotnetspider.com/forum/ViewForum.aspx?ForumId=31319
0
 

Author Comment

by:introlux
ID: 22850787
This only allows you to save or open the file - When clicking on OPEN it opens it in MS Word. I would like this to be rendered in the IFRAME and not using MS Word to view the file.

I would preferably want it to be rendered from load into the IFRAME instead of a user clicking on a link or button, but if its a must then im cool with that.

Regards,

introlux
0
 

Accepted Solution

by:
introlux earned 0 total points
ID: 22894321
Solved this issue - Just used Google docs (free) converted the .DOC file to HTML
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question