Giter Club home page Giter Club logo

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

Reporting for Web Forms - Manual Client-Side Library Registration

You can register client-side libraries automatically using the following settings in the Web.config file resources section:

<devExpress>
    <!-- ... -->
    <resources>
        <add type="ThirdParty" />
        <add type="DevExtreme" />
    </resources>
</devExpress>

For more information, review the following help topic: External Client Libraries.

Sometimes you need to have more control over the libraries your application loads. If that is important to you, you'll need to add client libraries manually and in a specific order. In this example, all the required third-party and DevExtreme libraries are registered in an ASP.NET Web Forms application manually, one by one.

To disable automatic registration, leave the resources section empty in the Web.config file:

<devExpress>
    <!-- ... -->
    <resources>
    </resources>
</devExpress>

You must then register the client scripts manually.

Implementation Details

In this example, client libraries and stylesheets are included in the Default.aspx.

Note

The order in which the libraries are loaded onto the page is important.

Third-Party Libraries

Required Libraries

Optional Libraries

DevExtreme Library

DevExtreme library is required since Reporting for Web components are based on DevExtreme widgets.

How to Run the Example

  1. This example uses the npm package manager to download library files. Right-click the package.json file in the Solution Explorer, and select Restore Packages to load libraries from npm source. You can also use the npm install command in the project folder to restore packages.

  2. Run the project in Visual Studio. You can open the Default.aspx page that includes styles and libraries in the necessary order, or load the DefaultWithBundles.aspx page that includes scripts bundled with the BuildBundlerMinifier.

Files to Review

Documentation

Does this example address your development requirements/objectives?

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

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.