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

IE 8/ 9: Error: Object doesn't support property or method 'kendoDatePicker'

3 Answers 269 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mitesh
Top achievements
Rank 1
Mitesh asked on 07 Aug 2012, 06:28 PM
I keep getting below error on IE 9 and same with IE 8. But works fine in Chrome etc.
Error: Object doesn't support property or method 'kendoDatePicker'

I have created a MVC4 application (followed all the steps given at - Kendo UI Introduction )

Am I missing anything?  (I have downloaded the trial package complete)

Thanks!

3 Answers, 1 is accepted

Sort by
0
David Beck
Top achievements
Rank 1
answered on 09 Aug 2012, 08:08 PM
Hi Mitesh,

if this is a new MVC project please check the following as it took mean hours to find the solution.

Sometimes Visual Studio when creating a new MVC Project places the following on the bottom of the _Layout
@Scripts.Render("~/bundles/jquery")
@RenderSection("scripts", required: false)

Even though i manually declared this above it was causing the same error. Moved both lines to the end of the </head> tag and all is working beautifully.
0
Mitesh
Top achievements
Rank 1
answered on 14 Aug 2012, 02:21 AM
Thanks! This fixed my issue.
0
Temp
Top achievements
Rank 1
answered on 24 Oct 2012, 12:15 AM
Thanks, helped me out too.
Tags
General Discussions
Asked by
Mitesh
Top achievements
Rank 1
Answers by
David Beck
Top achievements
Rank 1
Mitesh
Top achievements
Rank 1
Temp
Top achievements
Rank 1
Share this question
or