Giter Club home page Giter Club logo

reporting-web-forms-register-client-side-libraries-manually's Introduction

How to register third-party and DevExtreme client-side libraries manually for Web Reporting widgets

This example demonstrates how to include both Third-Party and DevExtreme libraries in an ASP.NET Web Forms web application manually. Our reporting web components require the following libraries:

Third-Party Libraries:

DevExtreme Libraries:

  • dx.all.js (should include the dx.common.css stylesheet along with the theme stylesheet: dx.light.css or dx.dark.css)

Download these libraries and put them into your web application folder. In this example, we used the npm package manager for this purpose. Right-click the package.json file in the Solution Explorer and click the Restore Packages command in order to restore script files. You can also use the npm install command in the project folder to restore packages.

Then, register an empty "resources" section in your Web.config file to disable automatic registration:

<configuration>  
  <devExpress>  
    ...  
    <resources>  
    </resources>  
  </devExpress>  
</configuration>  

In addition, register client-side libraries in the HTML page header section using <script\> tags. Note that the order in which scripts are registered is important.

Using bundles

The DefaultWithBundles.aspx page of the example also demonstrates how to use the BuildBundlerMinifier package in order to create script bundles. The configuration of bundles is located in the bundleconfig.json file. Also, libman.json is used to move DevExtreme icons to the css folder where the devextreme.bundle.min.css bundle is located.

Files to look at:

reporting-web-forms-register-client-side-libraries-manually's People

Contributors

pollyndos avatar vasyaste avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.