Can't Display Admin Menu

Topics: Controls
May 30, 2010 at 4:03 AM

I modified my theme to duplicate the pages on an ASP website.  I am trying to display the admin menu when I am logged in

This is the code I included...

                 <% if (Page.User.Identity.IsAuthenticated){ %>
                    <h2>Administration</h2>
                    <uc1:menu ID="Menu1" runat="server" />
                <%} %>                    

When I try to access the page with this code, I get a blank page

If I take out the line:  <uc1:menu ID="Menu1" runat="server" />  The page displays correctly. 

Is there something I need to set up for that line of code to work correctly?  I can create posts and view the settings page if I just go directly to those admin pages.