Custom targets/Sources for CSS Intellisense

Last post 07-23-2008 9:43 AM by skogen. 0 replies.

Sort Posts:

  • Custom targets/Sources for CSS Intellisense

    07-23-2008, 9:43 AM
    • Loading...
    • skogen
    • Joined on 12-21-2006, 6:40 AM
    • Posts 3

    Hi Folks,

    I posted this over at the MSDN forums and it was suggested to ask here:

    My companies CMS uses a dynamic page creation and generation system, which allows our users to define what sort of 'theme' of CSS Style template to use for any page or section of the CMS that they want.
    Because of this, our CSS references are injected dynamically in the page generation process.

    We use a lot of ASCX controls that can be added to these pages, to provide difference functionality, but because the overall style is dynamic, we can't provide hard links to any CSS files. 
    We simply know that as long as we use the right class names, it will resolve correctly when the page is rendered.

    We were quite excited to move up to Visual Studio 2008 as the new Intellisense for CSS/Javascript sounded great, but as you can imagine, 2008 actually invalidates all the CssClass attributes in these controls, which is somewhat annoying.

    Basically, is there a way to tell VS2008 to look at a default location for CSS references, when it can't find any in the current file ?

Page 1 of 1 (1 items)
Microsoft Communities
Page view counter