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

Html Helpers not available

4 Answers 668 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
ShaunMc
Top achievements
Rank 1
ShaunMc asked on 01 Jun 2012, 02:53 PM
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

4 Answers, 1 is accepted

Sort by
0
AkAlan
Top achievements
Rank 2
answered on 20 Jun 2012, 12:36 AM
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
0
ShaunMc
Top achievements
Rank 1
answered on 20 Jun 2012, 08:32 AM
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
0
AkAlan
Top achievements
Rank 2
answered on 20 Jun 2012, 02:23 PM
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.
0
Dennis
Top achievements
Rank 1
answered on 13 Jul 2012, 04:13 PM
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
Tags
Installer and VS Extensions
Asked by
ShaunMc
Top achievements
Rank 1
Answers by
AkAlan
Top achievements
Rank 2
ShaunMc
Top achievements
Rank 1
Dennis
Top achievements
Rank 1
Share this question
or