Jump to content

Cant view User Controls in designer

- - - - -

  • Please log in to reply
1 reply to this topic

#1
TheGateKeeper

TheGateKeeper

    Newbie

  • Members
  • Pip
  • 2 posts
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!

#2
gokuajmes

gokuajmes

    Programming God

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




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users