Error- Object doesn't support this property or method

3 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Nov 2007

    Posted 01 May 2013 Link to this post

    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. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 02 May 2013 Link to this post

    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!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. David
    David avatar
    2 posts
    Member since:
    Nov 2007

    Posted 02 May 2013 Link to this post

    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.

Back to Top