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

Error- Object doesn't support this property or method

2 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 01 May 2013, 06:45 PM
This is a new install using Visual Studio 2010/MVC 4. I followed the directions on the Getting Started page for an existing solution. I placed the datepicker in the index.cshtml file and when run I get the error mentioned in the subject.

I then reviewed the trouble shooting page and the forums. I've triple checked to enure that the _Layout.cshtml file contains the jquery reference once. I know it must be something really stupid, as I am new at this, but I could really use your help. I've attached all the relevant files.

Your help is much appreciated.

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 May 2013, 06:24 AM
Hello David,

 Can you confirm that the Kendo JavaScript files are in the ~/Scripts folder? If they aren't the bundle configuration would fail.

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
David
Top achievements
Rank 1
answered on 02 May 2013, 01:29 PM
I confirmed that they are in the scripts directory. In addition, I think the MVC Intro documentation may need to be tightened up.

Step 6 should state that the bundles code should be placed in ~/app_start/bundleconfig.cs

This worked for me.

Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
David
Top achievements
Rank 1
Share this question
or