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

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    91 posts
    Member since:
    Aug 2012

    Posted 24 Aug 2019 Link to this post

    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. 

  2. Nikolay
    Nikolay  avatar
    264 posts

    Posted 28 Aug 2019 Link to this post

    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.

    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.
Back to Top