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

error: Object doesn't support property or method 'kendoDatePicker'

1 Answer 601 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 04 Jun 2014, 06:32 PM
HI 

i am trying to learn Kendo UI controls and was following the Tutorial in http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/asp-net-mvc-4

when i run the project i get this error:

Unhandled exception at line 77, column 20 in http://localhost:50879/Default1/AddmotorPage

0x800a01b6 - Microsoft JScript runtime error: Object doesn't support property or method 'kendoDatePicker'


i even added <script src="/Scripts/jquery-1.10.2.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.1.528/js/kendo.all.min.js"></script>

on the view itself but am still getting this error, can any body suggest any solution.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 05 Jun 2014, 08:43 AM
Hello Anam,

This error is most likely caused by multiple jQuery registrations or missing Kendo UI javascript files registrations (see this topic for details). Please validate whether you have the appropriate script registrations in your case.

Additionally, you may consider taking advantage of the New Project Wizard coming with the VS Extensions for Telerik UI for ASP.NET MVC (installed via the msi installer of the distribution). Thus all necessary resources and references will be added automatically to your MVC project.

Regards,
Sebastian
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Adam
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or