Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  What Are Web Parts?
Subject:   Can't get beyond Browse mode
Date:   2007-06-04 09:33:20
From:   PongGod
When I run the application per the instructions associated with "Figure 5", the only option I have in the Display Mode dropdown is "Browse", not "Design" or "Edit". Is there something that is presumed to be configured a particular way that I am overlooking?


- Robert -

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Can't get beyond Browse mode
    2007-06-29 15:12:30  rouxmohammed [View]

    Seems like you missing "InitComplete" methode in your code behind of DisplayModeMenu.ascx.


    public void InitComplete(object sender, System.EventArgs e)
    {
    webPartManager = WebPartManager.GetCurrentWebPartManager(Page);

    String browseModeName = WebPartManager.BrowseDisplayMode.Name;

    foreach (WebPartDisplayMode mode in
    webPartManager.SupportedDisplayModes)
    {
    String modeName = mode.Name;
    if (mode.IsEnabled(webPartManager))
    {
    ListItem listItem = new ListItem(modeName, modeName);
    ddlDisplayMode.Items.Add(listItem);
    }
    }
    }
    • Can't get beyond Browse mode
      2008-06-13 06:22:16  arecibo92 [View]

      I get this same issue, but I have the InitComplete. Is there any other troubleshooting I can do?