1 Replies - 1639 Views - Last Post: 12 July 2010 - 09:07 AM Rate Topic: -----

#1 visweswaran28   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 45
  • Joined: 29-October 09

How to view document in asp.net

Posted 10 July 2010 - 12:08 AM


I want to know, how to view documents(doc,docx,pdf) in asp.net (online itself)..
Is This A Good Question/Topic? 0
  • +

Replies To: How to view document in asp.net

#2 Frinavale   User is offline

  • D.I.C Addict
  • member icon

Reputation: 205
  • View blog
  • Posts: 776
  • Joined: 03-June 10

Re: How to view document in asp.net

Posted 12 July 2010 - 09:07 AM

These document types are proprietary, which means that the companies that own these types have to create a component that lets the browser know how to read them.

Take PDF documents: the PDF document type format is owned by Adobe. This means that the user has to install an Adobe Reader plugin for the browser that they are using, otherwise the browser has no idea how to read the content in the PDF document. Adobe has been smart/kind enough to provide plugins for browser that give the browser a way to open and display these documents for the end user to read/view them.

The DOC and DOCX file type formats are owned by Microsoft as a part of their Word product. There are no plugins that can be installed in browsers to display these file types because Microsoft hasn't provided one (to my knowledge...)

This means that the browser cannot open/display the document (because it doesn't know how to), so the lets the user download the DOC/DOCX file. This way the user can take the appropriate action to open the document (using their installed copy of Word). If the user doesn't have Word installed then they cannot open the document.

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1