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

[Solved] Telerik is not a memeber of system.web.mvc.htmlhelper

2 Answers 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alan Mosley
Top achievements
Rank 1
Alan Mosley asked on 26 Nov 2011, 07:29 AM
i know that telerik mvc controls are not supoted on mvc4 yet, but i added them using nuget to a MVC4 project i have and all worked well. I then decided to add them to anouther MVC4 project and this time it did not work
I can get a ref to telerik.web.mvc, but not to HTML.telerik, i get the "Telerik is not a memeber of system.web.mvc.htmlhelper" error.

I have had a look at both projects side by side to try and work out why it works in one and not the other, yet i can find nothing, all versions seem the same everything. yet still have the problem.

Whats should i be looking for that would stop me getting a ref to HTML.Telerik ?

Any help would be great, thanks

2 Answers, 1 is accepted

Sort by
0
Alan Mosley
Top achievements
Rank 1
answered on 26 Nov 2011, 09:23 AM
I have found out a little bit more info to this problem.
If i create a MVC4 project and add MVCextentions from nuget, all works fineBut when i add a existing class lib to the solution reference HTML.Telerik is lost.

Anyone does this shine some light on the problem, can anyone point mein the right direction?
0
Alan Mosley
Top achievements
Rank 1
answered on 26 Nov 2011, 09:31 AM
OK solved it, the class lib, had a ref to mvc 3 in it, why i dont know, anyhow removing it fixed the problem
Tags
General Discussions
Asked by
Alan Mosley
Top achievements
Rank 1
Answers by
Alan Mosley
Top achievements
Rank 1
Share this question
or