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

Kendo UI is not working with MVC5 in VS2012

1 Answer 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
yogaraj
Top achievements
Rank 1
yogaraj asked on 24 Sep 2014, 10:58 AM
I'm using VS2012 and MVC5. I dowloaded the telerik.ui.for.aspnetmvc.2014.2.903.trial and followed the below steps

Added the Kendo.Mvc.dll reference to my project. (got Kendo.Mvc.dll from telerik.ui.for.aspnetmvc.2014.2.903.trial\wrappers\aspnetmvc\Binaries\Mvc5)
Copied the JS and Style folders from telerik.ui.for.aspnetmvc.2014.2.903.trial
Created BundleConfig.cs as per the telerik website tutorial
added the reference link _Layout.cshtml and did the web.config settings as suggested

when i run the application i'm getting javascript runtime error in the following debugger code


jQuery(function(){jQuery("#datepicker").kendoDatePicker({"format":"M/d/yyyy","min":new Date(1900,0,1,0,0,0,0),"max":new Date(2099,11,31,0,0,0,0)});});

can please help to resolve my issue.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 26 Sep 2014, 06:36 AM
Hi Yogaraj,

Please make sure that:

- jQuery is registered
- the Kendo UI scripts are registered
- there is only one jQuery instance on the page
- jQuery is registered before the Kendo UI scripts
- jQuery and Kendo UI are registered before any widget declarations that need them
- the jQuery version is compatible with the Kendo UI version

http://docs.telerik.com/kendo-ui/install/prerequisites#supported-jquery-versions

http://docs.telerik.com/kendo-ui/troubleshooting

http://docs.telerik.com/kendo-ui/aspnet-mvc/troubleshooting

If the problem persists after making all the above checks, please send a runnable project for further investigation.

Regards,
Dimo
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
Grid
Asked by
yogaraj
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or