Disappearing Web User Control in Design View

May 14, 2008 by Jason Bean  
Filed under Computers

wuc-blank-design-mode

My boss experienced an weird problem with his installation of Visual Web Developer Express 2008.

When he tried to view a web user control page in the design mode the application only displayed a blank white page. If he clicked on the “Source” view, all the code was there that was expected. Combing through the code didn’t produce anything that should have resulted in the error of things not loading.

It turns out the error was due to confusion on web user controls that also reference a CSS stylesheet. The rendering engine kind of gets choked on what’s going on. Jeff King, Program Manager for Visual Studio Web Tools, states that the quick fix is to just move the CSS style reference to the bottom of the page.

Sure enough everything worked.

For more details and an explanation of what’s occuring by Jeff King, visit the post on his website for all the information you need.

Image Source: Jeff King’s site

Share and Enjoy:
  • StumbleUpon
  • Digg
  • Facebook
  • Mixx
  • Google
  • TwitThis
  • Reddit
  • Yahoo! Buzz
  • Slashdot
  • E-mail this story to a friend!
  • BallHype
  • YardBarker

Comments

2 Responses to “Disappearing Web User Control in Design View”
  1. Anonymous says:

    Thank you for posting a workaround, this was driving me crazy.

  2. Ryan says:

    Yup, was having the exact same issue in Visual Studio 2008. Moved styles to the bottom, right click, refresh, and she’s back. Thanks!

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!


About Us | Advertise with us | Blog for EveryJoe | Privacy Policy | Terms of Use
Get This Theme


All content is Copyright © 2005-2009 b5media. All rights reserved.