How do I fix the following error?

1 Answer 2896 Views
TextBox
Greg
Top achievements
Rank 1
Greg asked on 29 Jun 2021, 08:38 PM

 

Uncaught TypeError: jQuery(...).kendoTextBox is not a function

 

I found this same question on SO here

https://stackoverflow.com/questions/62596574/asp-net-core-kendo-ui-textboxfor-fails-to-load

 

We (our team) tried the proposed solution, but we still get the error.

 

We are using ASP.NET Core, Telerik UI

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 02 Jul 2021, 07:34 AM

Hi Greg,

In general, this type of error occurs if jQuery is not included, or is included after the Kendo UI JavaScript files, or is included after Kendo UI widget initialization statements, the Kendo UI widgets will not function as expected. In addition if jQuery is included more than once in the page all existing jQuery plugins (including Kendo UI) will be wiped out. 

Make sure the client-side scripts are included in the right order as documented here:

https://docs.telerik.com/aspnet-core/installation/getting-started-copy-client-resources 

or

https://docs.telerik.com/aspnet-core/getting-started/first-steps#include-the-telerik-ui-for-aspnet-core-client-side-resources 

Regards,
Aleksandar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
TextBox
Asked by
Greg
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Share this question
or