Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Cant view User Controls in designer


  • Please log in to reply
1 reply to this topic

#1 TheGateKeeper

TheGateKeeper

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 15 January 2011 - 09:05 AM

Hey guys, i seem to be having some problems with user controls in visual studio 2010. It shows up like this in the designer:

Posted Image

When it works 100% when i run the website.

Here is a sample code for what im trying to show (its a widget for a blog):

                        <div class="block">
<h2>
Calendar</h2>
<blog:PostCalendar ID="PostCalendar1" runat="Server" NextMonthText=">>" DayNameFormat="FirstTwoLetters"
FirstDayOfWeek="monday" PrevMonthText="<<" CssClass="calendar" BorderWidth="0"
WeekendDayStyle-CssClass="weekend" OtherMonthDayStyle-CssClass="other" UseAccessibleHeader="true"
EnableViewState="false" />
</div>


Is this a known bug or am i doing something wrong?

Thanks!
  • 0

#2 gokuajmes

gokuajmes

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 483 posts

Posted 31 January 2011 - 02:20 AM

It is a well known bug
Workaround: Empty Design View for User Controls - Visual Web Developer Team Blog - Site Home - MSDN Blogs
  • 0




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download