views:

44

answers:

3

I've just installed Visual Studio 2010, but I cant seem to manage to get intellisense working to suggest classes.

+1  A: 

Short answer is yes, intellisense for CSS does work in ASP.net 2010, so if it's not for you then you have an install or configuration problem.

James Gaunt
+1  A: 

Make sure to try and click "ctrl+space" to force intellisense

WSkinner
A: 

Create a simple .aspx webform, drag and drop from the solution explorer the .css file. Go to source view and write something like this:

<span class="

then normally you should get intellisense. Same goes for the CssClass properties for server controls.

If you however try to include your .css file in a dynamic way by code then you could end up not getting intellisense.

XIII
That was quick! thanks
Stefan Debattista
@ Stefan Debattista You could also mark it.
XIII