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