Adding a reference to a css file in an ascx file in vs2008 only to get intellisense

Posted by Nick Allen - Tungle139 on Stack Overflow See other posts from Stack Overflow or by Nick Allen - Tungle139
Published on 2010-03-12T10:44:34Z Indexed on 2010/03/12 10:47 UTC
Read the original article Hit count: 306

Filed under:
|

Normally visual studio brings up intellisense for available css classes, which it draws from css files linked to the current aspx/master document.

Is there a way to get this to work in an ascx file in a similar way to referencing external JavaScript files in js files for the purpose of intellisense

/// <reference path="jquery-1.4.1.js" />

I only want this for the purpose of intellisense and not getting squiggly lines under un-recognised classes. My css files will be actually linked from the aspx/master page.

© Stack Overflow or respective owner

Related posts about vs2008

Related posts about intellisense