Html Helpers not available

5 posts, 0 answers
  1. ShaunMc
    ShaunMc avatar
    3 posts
    Member since:
    May 2012

    Posted 01 Jun 2012 Link to this post

    I have followed the introduction page on the documentation site to setup an MVC3 web application using Razor, but I cannot add a Kendo control to the view, the Kendo namespace does not appear in the "Html." intellisense.

    Any ideas?

    tried to look at the example source, as mentioned at the bottom of the introduction, but the folder Example has not been installed , was this an option during install, or was it not in the Beta release ?

    UPDATE: Just tried a fresh MVC3 application and followed this again and it works. The first attempt was the creation of a telerik mvc3 web application with razor and implementing kendo algongside the telerik asp.net mvc extensions. this is the one that doesn't work. is their an order to the scriptregistrar before or after the kendo script links?

    Thanks

    Shaun
  2. AkAlan
    AkAlan avatar
    121 posts
    Member since:
    Jun 2009

    Posted 19 Jun 2012 Link to this post

    I'm having the same issue. I don't want to have to start all over with a new project, have you figured anything out or did you just give up?

    Update: I just rearranged the script references and it now works. Will post back tomorrow with the order I used
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. ShaunMc
    ShaunMc avatar
    3 posts
    Member since:
    May 2012

    Posted 20 Jun 2012 Link to this post

    Yes, I have resolved this issue, I meant to post a resolution, but the kendo forums would not let me reply, but I will try again with this response to your question.

    The issue was resolved by making sure the namespace was added to the web.config file in the areas/views level. I originally had it in the views web.config of the top level of the application. When I added it in the appropriate areas then the issue was resolved. I think I had to restart visual studio for it to be detected.


    Hope this helps

    Shaun
  5. AkAlan
    AkAlan avatar
    121 posts
    Member since:
    Jun 2009

    Posted 20 Jun 2012 Link to this post

    Thanks for the reply. Now I'm not as certain that it was the order of the scripts placement on the page as I am about having to restart VS to make it work. I will say one thing, now that it is working I am really digging KendoUI. I'm going to play around with the order of the script files just to see if I can break it, I'll post back with results.
  6. Dennis
    Dennis avatar
    38 posts
    Member since:
    Aug 2012

    Posted 13 Jul 2012 Link to this post

    I have intellesense working in areas but now that I want to add a menu to layout (not in areas) intellesense is not working there. Any ideas?

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