Example T848276
Visible to All Users

Reporting for JavaScript - Integrate the Web Document Viewer (with npm or Yarn package managers)

This example integrates the HTML5 Document Viewer in a JavaScript application.

JavaScript Document Viewer Integration

Implementation Details

This example consists of two parts:

  • A server (back-end) ASP.NET Core project that enables cross-domain requests (CORS) (Access-Control-Allow-Origin) and implements a custom web report storage.
  • A Document Viewer front-end JavaScript application with the Web docuemnt Viewer control.

To run this example, follow the steps below:

  1. Run the ServerApp project.
  2. Navigate to the ClientSide folder and run one of the following commands to install packages"
    • If you have the npm package manager:
      npm install
    • If you have the Yarn package manager:
      yarn install
  3. Host the client-side part (the ClientSide folder ) on the web server. You can add a new website in the Internet Information Services (IIS) Manager.
  4. Launch the browser and open the website created in the previous step.

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.