Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery(...).kendoDatePicker is not a function

Risking to get my reputation downsized, I am new to Kendo UI and stuff, and I read a lot about this error, but couldn't find anything to help me.

Here is my view

@model ClothingSite.Models.Register
@using Kendo.Mvc.UI;
@{
    ViewBag.Title = "ThunderBird Clothes";
}
<head>
    <script src="@Url.Content("~/Scripts/jquery.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.web.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.aspnetmvc.min.js")"></script>

</head>

<h2>Title Legend</h2>
@(Html.Kendo().DatePicker().Name("Birthday"))
<link rel="stylesheet" href="@Url.Content("~/Content/styles/kendo.common.min.css")">
<link rel="stylesheet" href="@Url.Content("~/Content/styles/kendo.default.min.css")">

Am I missing any reference?I have the scripts from the Free Trial Telerik Kendo UI And the full error

IndexButton:78 Uncaught TypeError: jQuery(...).kendoDatePicker is not a function at HTMLDocument. (IndexButton:78) at i (jquery.min.js:2) at Object.fireWith [as resolveWith] (jquery.min.js:2) at Function.ready (jquery.min.js:2) at HTMLDocument.K (jquery.min.js:2)

like image 241
Nomonom Avatar asked Jun 21 '26 02:06

Nomonom


1 Answers

You forgot to add the main kendo ui JS file. based on your kendo ui version you can add kendo.all.min.js file in your project.

For step by step guidance please look into this.

Let me know if any concern.

like image 90
Jayesh Goyani Avatar answered Jun 23 '26 09:06

Jayesh Goyani



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!