License errors when displaying a Chart and a PDF Viewer on the same page

1 Answer 4 Views
Chart Licensing PDFViewer
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Richard asked on 08 Jul 2025, 11:00 AM | edited on 08 Jul 2025, 11:01 AM

I have a simple test page that has a Chart and a PDF Viewer. I can not get both to work at the same time without getting a license error.

Below is how I  have tried loading the Kendo library at the top of the page. For the chart, I need to load it as a script for it to work. For the PDF Viewer I need to load it as a module. But loading both always breaks the license. I have tried version combinations (see below) 

How do I get a chart on the same page as the PDF Viewer and have the license work?

Scenario 1:

<script src="~/Portal/kendo/kendo.all.min.js" ></script>
<script src="~/Portal/kendo/kendo.aspnetmvc.min.js" ></script>

  • Chart loads correctly
  • PDF Viewer fails to load
  • The license loads correctly

 Scenario 2:

<script src="~/Portal/kendo/kendo.all.min.js" type="module" ></script>
<script src="~/Portal/kendo/kendo.aspnetmvc.min.js" type="module" ></script>

  • Chart fails to load
  • PDF Viewer loads correctly
  • The license loads correctly

Scenario 3:

<script src="~/Portal/kendo/kendo.all.min.js" ></script>
<script src="~/Portal/kendo/kendo.aspnetmvc.min.js" ></script>

<script src="~/Portal/kendo/kendo.all.min.js" type="module" ></script>
<script src="~/Portal/kendo/kendo.aspnetmvc.min.js" type="module" ></script>

  • Chart loads correctly
  • PDF Viewer loads correctly
  • The license fails to load

 

Thanks,

Richard

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 08 Jul 2025, 08:35 PM

Hello Richard,

 

Thank you for reaching out.

You can resolve this issue by adding type="module" directive to the kendo license script reference in your _Layout.cshtml page:
https://www.telerik.com/kendo-jquery-ui/documentation/intro/installation/licensing/adding-the-license-key 

Can you please give it a try and let me know if this suggestion resolve the problem?

 

Regards,
Eyup
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Chart Licensing PDFViewer
Asked by
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Eyup
Telerik team
Share this question
or