Forum Discussion

Miguel Isidoro's avatar
Miguel Isidoro
Brass Contributor
Oct 21, 2021
Solved

SharePoint 2019 Publishing Site - Problem with quick launch menu

Hi,   I am using https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ms476607(v=office.14) for a public web site in SharePoint 2019 that is showing quick launch navi...
  • Miguel Isidoro's avatar
    Oct 22, 2021

    Hi,

     

    Problem solved.

     

    Removed the ControlId="QuickLaunchDataSource" attribute from the <SharePoint:DelegateControl> and removed the "StartingNodeUrl="sid:1025" attribute from the asp:SiteMapDataSource control.

     

    Other changes in bold.

     

    <SharePoint:AjaxDelta ID="AjaxDelta1" class="" role="navigation" BlockElement="true" runat="server">
    <SharePoint:SPNavigationManager
    ID="SPNavigationManager1"
    runat="server"
    QuickLaunchControlId="V4QuickLaunchMenu"
    ContainedControl="QuickLaunch"
    EnableViewState="false">
    <SharePoint:DelegateControl ID="DelegateControl2" runat="server">
    <Template_Controls>
    <asp:SiteMapDataSource
    SiteMapProvider="CurrentNavigationTaxonomyProvider"
    ID="QuickLaunchSiteMap"
    runat="server"
    EnableViewState="False"
    ShowStartingNode="False"
    StartFromCurrentNode="False"
    StartingNodeOffset="1" />
    </Template_Controls>
    </SharePoint:DelegateControl>

    <SharePoint:AspMenu
    ID="QuickLaunchMenu"
    runat="server"
    EnableViewState="false"
    DataSourceID="QuickLaunchSiteMap"
    UseSimpleRendering="true"
    Orientation="Vertical"
    AdjustForShowStartingNode="true"
    SkipLinkText=""
    RenderingMode="List"
    StaticDisplayLevels="3"
    MaximumDynamicDisplayLevels="0"
    StaticSubMenuIndent="0"
    Editable="false" />
    </SharePoint:SPNavigationManager>
    </SharePoint:AjaxDelta>

     

    Thanks

    Miguel

Resources