aspnet-17153-common-concepts-webconfig-modifications-webconfig-options-external-client-libraries.md
DevExpress Dashboard, Reports, Query Builder, and Charts components require that specific external libraries are available on the client, including DevExtreme resources.
You must add the necessary libraries using automatic or manual registration to ensure the component operates correctly.
To load DevExtreme and third-party libraries automatically, add the following references to the resources section to the Web.config file.
<configuration>
<configSections>
<sectionGroup name="devExpress">
<!-- ... -->
<section name="resources" type="DevExpress.Web.ResourcesConfigurationSection, DevExpress.Web.v25.2, Version=25.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" />
</sectionGroup>
</configSections>
<!-- ... -->
</configuration>
<!-- ... -->
<devExpress>
<!-- ... -->
<resources>
<add type="ThirdParty" />
<add type="DevExtreme" />
</resources>
</devExpress>
The above settings mean the following:
ThirdPartyAdds references to required third-party libraries.DevExtremeAdds a reference to the DevExtreme package.
When you create a project from the DevExpress Template Gallery, it specifies both settings in the Web.config file.
Follow the steps below to specify the libraries to deploy on the client:
Declare an empty resources section to prevent external client scripts from loading automatically.
Attach DevExtreme resources and the third-party libraries listed in the Script Libraries section to the web page. It is essential to follow the correct order when adding libraries to the page. Third-party libraries must be added before DevExtreme libraries.
Dashboards
jquery.min.js
knockout-latest.js
ace.js (required for Dashboard Designer)
ext-language_tools.js (required for Dashboard Designer)
jszip.min.js (required for text editing in RichEdit control)
dx.richedit.min.js (required for text editing in RichEdit control)
dx.all.js - DevExtreme client libraries
DevExtreme client libraries
Reporting
Query Builder