This is a migrated thread and some comments may be shown as answers.

kendoAutoComplete is not a function

3 Answers 230 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 06 Feb 2019, 10:42 PM

Basic sample from https://demos.telerik.com/aspnet-core/autocomplete/index displays this in chrome console:

VM591:1 Uncaught TypeError: jQuery(...).kendoAutoComplete is not a function

....

 

Kendo UI is working fine for every control except autocomplete.  There are multiple controls on this page besides the autocomplete..  Even the basic asp.net core demos do not work at all.  What extra configuration steps are needed to actually get this to work?  I also noticed that much of the samples have big chunks of code missing, such as the virtualization demo. 

 

 

3 Answers, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 06 Feb 2019, 11:53 PM

Resolved it.  It wasn't added to the gulpfile:

Adding it to the list like so resolved the issue:

args: ['-c core,data,popup,list,combobox,autocomplete .....

 

 

 

 

0
Chris
Top achievements
Rank 1
answered on 07 Feb 2019, 01:56 AM
How exactly can we get the virtualization working?  The demo is missing almost half of the code?  there is also no way to send the antiForgery token, and no way to set the action to GET, in case you didn't want to post.  Not very good practice to leave so much important information out of your demos.  It is ASP.NET CORE, it is not asp.net mvc.  Did you not think to include the code to send the anti forgery token?  
0
Nencho
Telerik team
answered on 11 Feb 2019, 12:42 PM
Hello Chris,

Did you check the Virtualization demo of the AutoComplete widget?:

Demo: https://demos.telerik.com/aspnet-core/autocomplete/virtualization

Docs: https://docs.telerik.com/aspnet-core/html-helpers/editors/combobox/virtualization (combobox virtualization implementaiton is identical)

If not please give it a try and let us know if you are experiencing any issues configuring the widget at your end. Asanti- forgery token, indeed the demos' main focus is to demonstrate the functionalities and features of the widgets. Here you can check how the kendo.antiForgeryTokens() method can be used:

https://docs.telerik.com/kendo-ui/api/javascript/kendo/methods/antiforgerytokens

Hope this would help.

Regards,
Nencho
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
AutoComplete
Asked by
Chris
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or