Forum Discussion
SharePoint 2019 Publishing Site - Problem with quick launch menu
- 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
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