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

0x800a1391 - JavaScript runtime error: 'kendo' is undefined occurred

1 Answer 184 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 24 Aug 2019, 08:31 PM

Telerik UI for ASP.NET Core not working on Razor page Core 2.0

To replicate:

Create New Project -> .NET Core -> ASP.NET Core Web Application

Select -> Web Application (ASP.NET Core 2.0)

Added services.AddKendo(); to Startup.cs

Added @addTagHelper, etc .  to _ViewImports.cshtml

Added link and script to _Layout.cshtml

Added @using Kendo.Mvc.UI and @(Html.Kendo().DatePicker().Name("my-picker")) to target page.

Encountered error showed in title. 

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 28 Aug 2019, 02:46 PM
Hi Ryan,

Thank you for the detailed explanation of the steps you are following.

What is missing in your Kendo UI implementation for ASP.NET Core is adding the Telerik UI for ASP.NET Core NuGet package. Please refer to the Adding the NuGet Package article. Once you complete that, your project will recognize Kendo and you will have your DatePicker successfully rendered.

Hope the above helps and please contact us back in case of further questions.

Regards,
Nikolay
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
General Discussions
Asked by
Ryan
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or