How to view a .Doc or .docx file in web browser instead of downloading it

I want to view .doc or .docx file to view in browser instead of downloading.
Can do it after converting it to pdf or is there any way to achieve it?

11 Replies

MJ Mohanaselvam Jothi Syncfusion Team May 15, 2018 06:34 AM UTC

Hi Raj,

Thank you for contacting Syncfusion support.

Regarding .doc or .docx file to view in browser instead of downloading:
Essential DocIO is a non-UI component that provides a full-fledged document object model to manipulate the Word document contents.

If your requirement is to view Word documents in web browsers, we suggest you to our DocumentEditor component which is now under development. This new Javascript component is planned for our 2018 Volume 2 release which is expected to be available by the end of May 2018. We will update once it is rolled out.

Regarding can do it after converting it to pdf:
Yes, it is feasible to convert the Word document into PDF and open in Web browser. For your reference we have prepared a sample application to convert the Word document into PDF using Essential DocIO and opens the converted PDF in web browser.

Please find the sample from the below link and let us know if this helps you:
http://www.syncfusion.com/downloads/support/forum/137556/ze/WordToPDF-1775431192.zip


Please let us know if you have any other questions.

Regards,
Mohanaselvam J
 



RK Raj Kumar May 31, 2018 07:29 AM UTC

is it relaeased?


MJ Mohanaselvam Jothi Syncfusion Team June 1, 2018 12:48 PM UTC

Hi Raj,

We regret for the inconvenience caused. Our Essential Studio 2018 Volume 2 release is expected to be available on 8th June 2018.

Regards,
Mohanaselvam J
 



RK Raj Kumar June 12, 2018 11:48 AM UTC

is it now released?



MJ Mohanaselvam Jothi Syncfusion Team June 13, 2018 12:20 PM UTC

Hi Raj,

We regret for the inconvenience. Due to some unexpected problems, our release is getting delay. We are trying our best to have it rolled out by next week. We would update you further when the release is rolled out.

Regards,
Mohanaselvam J
 



RK Raj Kumar June 20, 2018 08:43 AM UTC

Please update me when it is released.


MJ Mohanaselvam Jothi Syncfusion Team June 21, 2018 06:13 AM UTC

Hi Raj,

Our 2018 Volume 2 release will be available on June 26, 2018.  We will update you once it is rolled out.

Regards,
Mohanaselvam J
 



MJ Mohanaselvam Jothi Syncfusion Team June 27, 2018 01:15 PM UTC

Hi Raj,

We are glad to announce that our EJ2 Document Editor component which is based on pure JavaScript has been included in our Essential Studio 2018 Volume 2 Release v16.2.0.41 is rolled out and is available for download under the following link.
https://www.syncfusion.com/forums/138315/essential-studio-2018-volume-2-release-v16-2-0-41-is-available-for-download 

Please find our online sample and documentation from following link.

Online Sample
https://ej2.syncfusion.com
https://ej2.syncfusion.com/16.2.41/demos/samples/documenteditor/default/index.html#fabric 

Documentation
https://ej2.syncfusion.com/documentation/document-editor/?lang=typescript


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Mohanaselvam J

 



RK Raj Kumar June 28, 2018 11:36 AM UTC

i m currently using javascript (JS1) in my mvc project. for acheiving this i included the required js file to my layout page.
but document editor is in JS2 and in your sample link code is in typescript.
Actually i m not able to understand that how to get required js file for document editor.
Can u please guide me,how to use this in my current project.


MA Mugunthan Anbalagan Syncfusion Team June 29, 2018 09:56 AM UTC

Hi Raj Kumar,

Thank you for your update. 
Please find the steps to include EJ2 Document editor in your ASP.NET MVC application.  
  1. Add below NuGets to your project.
    • Syncfusion.EJ2.JavaScript
    • Syncfusion.EJ2
  2. You can find the required scripts and styles under following folder in the package.
Scripts Folder: packages\Syncfusion.EJ2.JavaScript.16.2.0.41\content\Scripts\ej2 
 
 
 
Styles Folder:  packages\Syncfusion.EJ2.JavaScript.16.2.0.41\content\Content\ej2 
 
 
 
  1. You can either refer the script and styles from the package restored location like below or include it in your project and refer directly.
@Scripts.Render("~/packages/Syncfusion.EJ2.JavaScript.16.2.0.41/content/Scripts/ej2/ej2.min.js") 
 
@Scripts.Render("~/packages/Syncfusion.EJ2.JavaScript.16.2.0.41/content/Content/ej2/material.css") 
 

Regards, 
Mugunthan A 



MA Mugunthan Anbalagan Syncfusion Team June 29, 2018 11:39 AM UTC

Hi Raj Kumar, 

We have prepared a MVC5 web application using EJ2 Document editor. Please find the sample from following link. Kindly try running the sample and let us know if this helps you.

Sample: Sample.zip  

Disclaimer
Starting with v16.2.0.41, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, you also have to include a license key in your projects. Please refer to this link to know about registering Syncfusion license key in your ASP.NET MVC application to use our components. 

Regards,  
Mugunthan A  


Loader.
Up arrow icon