Skip to content

This example demonstrates how to integrate the HTML5 Document Viewer (Reporting) in JavaScript application based on the server-side model.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/reporting-javascript-basic-viewer-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for JavaScript - How to Perform the Document Viewer Integration (with npm or Yarn package managers)

This example demonstrates how to integrate the HTML5 Document Viewer in a JavaScript application based on the server-side model.

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.
  • Document Viewer front-end client JavaScript application.

Perform the following steps to run this example:

  1. Open the back-end project solution (CS\ServerSide.sln) in Visual Studio and run the project.

  2. Navigate to the JS\ClientSide folder which is the client part's root folder.

  3. Open the console and run the following command:

    • if you have the npm package manager:

      npm install

    • if you have the Yarn package manager:

      yarn install

  4. Host the client-side part ( JS\ClientSide folder ) on the web server. You can add a new website in the Internet Information Services (IIS) Manager.

  5. 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)