Skip to content

DevExpress-Examples/reporting-web-forms-register-client-side-libraries-manually

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. Open the Default.aspx page that includes styles and libraries in the necessary order.

Files to Review

Documentation

Does this example address your development requirements/objectives?

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors 5