While using Html.Kendo().Chart() getting kendo is not defined error

1 Answer 25 Views
General Discussions
Ajai Sundar
Top achievements
Rank 1
Ajai Sundar asked on 02 Dec 2024, 06:27 AM | edited on 03 Dec 2024, 05:49 PM
Html.Kendo().Chart() getting kendo is not defined error

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 04 Dec 2024, 02:04 PM

Hello Ajai,

 

Thank you for writing to us.

This error indicates that the Kendo scripts are not added in the proper order. Can you try to add them in the _Layout.cshtml file like this?

    <link href="https://unpkg.com/%40progress/kendo-font-icons/dist/index.css" rel="stylesheet" type="text/css" />
    <link href="https://kendo.cdn.telerik.com/themes/10.0.1/default/default-ocean-blue.css" rel="stylesheet" type="text/css" />

    <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
    <script src="https://unpkg.com/jszip/dist/jszip.min.js"></script>
    <script src="https://cdn.kendostatic.com/2024.4.1112/js/kendo.all.min.js"></script>
    <script src="https://cdn.kendostatic.com/2024.4.1112/js/kendo.aspnetmvc.min.js"></script>
Please apply this suggestion and keep me updated whether it was helpful.

 

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
General Discussions
Asked by
Ajai Sundar
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or