Missing JQuery

2 posts, 0 answers
  1. David
    David avatar
    90 posts
    Member since:
    Jan 2011

    Posted 30 Sep 2015 Link to this post

    I am new to the MVC world of programming so I hope this problem is not something really simple.   

    Using Visual Studio 2015, and .NET 4.5, I created a new project using the "empty" telerik project.  By the looks of things all the required scripts and layout looks like it was copied into my project.  As long as I stick with non Kendo things, everything works.  I have several views that render without issue.  Being I love Telerik products I figured I would try a more daring view which will entail a couple of grids as well as a tree view or two.  Structurally I have a single layout template and several partial views.  If the displayed data is not relevant, the .RAZOR logic skips the display of the relevant KENDO grids.  That all works without issue.

    My problem seems to be related to the registration of the Kendo/Telerik scripts.  Using IE 11, I get  a "Jquery is undefined" error.  Chrome and Firefox display the grids however they look like they are rendering with partial success.  For example, none of the row selection is occurring.  Sorting of the grids is taking place without issue.

    How can I confirm I have my project configured correctly?  I have seen references to having to run a "register scripts" several places however my project contains no such instructions currently. (Which of course could be my problem)  I do have the default "bundles" logic in my "App_Start" folder.  I do see a j-query bundle reference there.  I am able to type / edit the markup and the Kendo libraries seem to be recognized.

    As I am new to MVC 5 programming I have no background to fall back upon.  Hopefully you can point out my errors and where to start my search for the "fix".

    Thanks in advance.

     

  2. David
    David avatar
    90 posts
    Member since:
    Jan 2011

    Posted 01 Oct 2015 in reply to David Link to this post

    Noticed that a Q3 2015 release was available.  Uninstalled/reinstalled everything and then re-tested.  Things now work immensely better.   While I could credit Q3 2015, I also added several script references to my "<head>" html block.

     

    Thanks for the preemptive support.

  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top