Visual Studio and .NET Framework Home
ASP.NET StylesheetTheme can't be use with Master Page in VS2008 RTM
12/3/2007 8:27:48 PM
User(s) can reproduce this bug
Design view complains "The page contains markup that is not valid when attached to a Master Page" when using "StylesheetTheme" with in a page that uses a master page. It can be fixed when I modify the source code, even I just press a space.
Visual Studio 2008 (All Products and Editions)
Windows XP Professional
Operating System Language
Steps to Reproduce
When opening any page that applys any master page.
Design view complaions "The page contains markup that is not valid when attached to a Master Page".
Design view should show "Design view".
TAP Code (if applicable)
You can indicate your satisfaction with how Microsoft handled this issue by completing this quick
3 question survey
to post a comment.
Please enter a comment.
on 4/24/2008 at 3:39 AM
there is a SP road-map for Visual Studio 2008
or error will die with the next realease of Visual Studio?
on 4/8/2008 at 1:06 PM
Still a major annoyance. Every time I load a project I've got to go to Design View and wait for a refresh. When (and is) this going to be fixed??
Simon Gregory _Marmite_
on 1/22/2008 at 8:17 AM
Is there going to be a proper fix for this at some point? Surely it's an easy one if all you need to do is issue a 'Refresh' if the designer is about to pop up that message! :)
on 1/7/2008 at 10:46 AM
I can easily reproduce this bug.
1) Create a new ASP.NET Web Application project in Visual Studio 2008 RTM.
2) Add the App_Themes directory.
3) Add a .css file to the theme.
4) Add a Master Page
5) Add a Content Page for the new Master Page.
6) Set the StylesheetTheme property to your new theme.
7) View the content page in Design mode.
on 12/5/2007 at 4:43 PM
Thank you for reporting the issue. As a workaround, instead of editing the file, you can click View | Refresh in Design view and that make content page render correctly.
on 12/4/2007 at 2:37 AM
Thanks for reporting the issue.
In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided. See attached zipped project.
It may help if you provide us with:
1. a demo project
2. more exact steps to repro the issue.
If we do not receive a response from you after 7-days , we will automatically close your issue. There is no obligation to respond -- at any time you may edit your issue via Connect and change the status to “Active.”
Visual Studio Product Team
to post a workaround.
Please enter a workaround.
© 2014 Microsoft