kendoExpansionPanel is undefined

1 Answer 116 Views
ExpansionPanel
Tayger
Top achievements
Rank 1
Iron
Tayger asked on 15 May 2021, 11:08 PM

Hello 

I have installed the latest commerical KendUI JQuery : kendoui.for.jquery.2021.2.511.commercial.zip  

When I copy/paste the example from https://docs.telerik.com/kendo-ui/api/javascript/ui/expansionpanel/configuration/title to my local project I got this error message:

TypeError: $("#expansionPanel").kendoExpansionPanel is not a function. (In '$("#expansionPanel").kendoExpansionPanel({
                title: "Lorem ipsum"
            })', '$("#expansionPanel").kendoExpansionPanel' is undefined)

I'm using many others widgets, never had such a case. Also PHPStorm does not color ".kendoExpansionPanel" in the code to let me know it can't be resolved. I'm working with JQuery 3.5.1 but that is probably not the problem.

Did I miss anything?

 

1 Answer, 1 is accepted

Sort by
0
Tayger
Top achievements
Rank 1
Iron
answered on 16 May 2021, 01:02 AM
I could fix it by downloading an "internal" version.
Nikolay
Telerik team
commented on 19 May 2021, 11:13 AM

Hello Tayger,

Glad to hear you managed to resolve the situation.

Please ensure when upgrading the Kendo UI scripts and styles are referencing the correct version:

https://docs.telerik.com/kendo-ui/intro/first-steps#1-adding-the-required-javascript-and-css-files

Please let us know if anything new arises.

Tags
ExpansionPanel
Asked by
Tayger
Top achievements
Rank 1
Iron
Answers by
Tayger
Top achievements
Rank 1
Iron
Share this question
or