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

Kendo Map - Asp.Net core

2 Answers 21 Views
This is a migrated thread and some comments may be shown as answers.
Asmir
Top achievements
Rank 1
Asmir asked on 13 Jun 2018, 12:32 PM

Hi,

I have a problem with the kendo map using tag helpers, and I'm getting the error: 

Uncaught TypeError: a.mobile.ui.Scroller is not a constructor
at init._initScroller (kendo.all.js:174114)
at new init (kendo.all.js:174307)
at HTMLDivElement.<anonymous> (kendo.all.js:2435)
at Function.each (jquery.js:360)
at jQuery.fn.init.each (jquery.js:137)
at jQuery.fn.init.e.fn.(anonymous function) [as kendoMap] (http://localhost:50902/lib/kendo/2018.1.221/js/kendo.all.min.js:26:4668)
...


I tried the tag helper implementation and it's not working, neither with razor, nor jquery. Error is the same. I'm using kendo for asp.net core 2018.1.221. Do you have any idea what cause the problem? 

Kind regards,
Asmir

 

2 Answers, 1 is accepted

Sort by
0
Asmir
Top achievements
Rank 1
answered on 13 Jun 2018, 03:49 PM
Very important thing I didn't mention is that I'm trying binding to GeoJSON, the same implementation works perfect on an ASP.NET MVC project, but not on a .NET Core. I hope you can help me, Right now I'm looking for razor syntax solution.

Thank you,
Asmir M.
0
Georgi
Telerik team
answered on 18 Jun 2018, 06:06 AM
Hello Asmir,

Based on the provided information I assume that the issue is caused due to a missing script reference.

Below I am listing all the dependencies of the Kendo Map.


Furthermore, another approach is to link the kendo.all.js script in your project as it contains the source of all Kendo widgets.

e.g.


Regards,
Georgi
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Asmir
Top achievements
Rank 1
Answers by
Asmir
Top achievements
Rank 1
Georgi
Telerik team
Share this question
or