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

[Solved] No intellisense in VS 2010 with MVC 3

4 Answers 206 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.
Guillaume
Top achievements
Rank 1
Guillaume asked on 27 Jul 2011, 03:46 PM
Hi,
I'm evaluating Telerik's ASP.NET MVC extensions and i can't get intellisense in VS 2010. I can copy paste code to display a Telerik control, it will run correctly but the on the view when typing Html.Telerik(), the Telerik method doesn't exists in intellisense so i have no intellisense for any Telerik extensions.
I also try creating a project using Telerik's template but to no end.
Is there something specific to do ?

Thanks,
Guillaume

4 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 28 Jul 2011, 08:59 AM
Hello Guillaume,

 Try building the solution first. Then VS Intellisense will kick in for the Telerik extension methods.

Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

0
Jeff
Top achievements
Rank 1
answered on 28 Sep 2011, 08:09 PM
I'm only able to get this to work by putting

@

 

using Telerik.Web.Mvc.UI

 


at the top of each of my .cshtml files. But then I get a JS popup error: " Error: Object doesn't support this property or method" in jquery-1.5.1.min.js

-
jboyd
0
Rosen
Telerik team
answered on 29 Sep 2011, 09:43 AM
Hi Jeff,

Could you verify that your project is correctly setup. Information on how to use Telerik Extensions for ASP.NET MVC in you project can be found here

All the best,
Rosen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Jeff
Top achievements
Rank 1
answered on 29 Sep 2011, 04:05 PM
yes, I had followed the instructions in the link you provided some time ago to no avail. What I actually found that worked for me was to actually "convert" my application to a Telerik MVC app, which did all the reference etc setup for me.
I did the following:
  1. Right-click on project
  2. Select Telerik  MVC UI Extendions -> Convert to Telerik MVC Application
  3. Follow wizard.

Can see via video in this link.

I didn't do a complete comparision of what was missing when I tried to add everything myself so I can't tell exactly what all the differences are compared with the wizard.
-
jboyd

Tags
General Discussions
Asked by
Guillaume
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jeff
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or