web parts down menu arrow not being displayed

Last post 10-16-2006 4:53 AM by jaaxton. 4 replies.

Sort Posts:

  • web parts down menu arrow not being displayed

    10-09-2006, 2:36 PM
    • Loading...
    • jaaxton
    • Joined on 09-23-2006, 11:00 AM
    • Lagos
    • Posts 4
    can someone, pls help me out!
    i've tried several books - asp.net 2.0 unleashed & custom controls and web parts, yet every time i try to create a simple webpart control, the drop down arrow with minimize, close options never displays in the browser.

    what's the problem?
    jaaxton
  • Re: web parts down menu arrow not being displayed

    10-10-2006, 3:34 AM
    • Loading...
    • BCdotNET
    • Joined on 09-05-2006, 1:46 PM
    • Posts 38
    Probably the security settings in IIS. Disable anonymous access.
    Life would be a lot easier if we could take a look at the source code.
  • Re: web parts down menu arrow not being displayed

    10-12-2006, 8:51 AM
    • Loading...
    • jaaxton
    • Joined on 09-23-2006, 11:00 AM
    • Lagos
    • Posts 4
    alright. here's the source code. i wish i could attach the source files instead. anyway, here it is - it's just one page.
    i use the LocalSqlServer connection string and the ASPNETDB database with SqlServer2000 for my web.config.
    and yet the down arrow never appears when i run the page below. somebody help pls.



    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
    <title>Untitled Page</title>
    </head>
    <body>
    <form id="form1" runat="server">
    <div> <asp:WebPartManager ID="WebPartManager1" runat="server"> </asp:WebPartManager>
    <asp:WebPartZone ID="WebPartZone1" runat="server">
    <ZoneTemplate> <asp:Label ID="Label1" runat="server" Text="Hello"></asp:Label> </ZoneTemplate>
    </asp:WebPartZone>
    </div>
    </form>
    </body>
    </html>
     
    jaaxton
  • Re: web parts down menu arrow not being displayed

    10-12-2006, 10:39 PM
    • Loading...
    • mattbutler
    • Joined on 01-19-2005, 6:13 PM
    • Posts 15

    Make sure your WebPartManager's display mode is set to EditDisplayMode.  e.g.

    WebPartManager1.DisplayMode = WebPartManager.EditDisplayMode

  • Re: web parts down menu arrow not being displayed

    10-16-2006, 4:53 AM
    • Loading...
    • jaaxton
    • Joined on 09-23-2006, 11:00 AM
    • Lagos
    • Posts 4
    i finally figured out the problem. the reason why the down arrow didn't display was cos u have to authenticate a user before the down arrow displays. thanks anyway.
    jaaxton
Page 1 of 1 (5 items)
Microsoft Communities
Page view counter