ShowInNavigation, RadPanelBar and SiteMapDataSource
I use a radPanlBar in my navigation so that i can get a bit more control above and beyond the normal menu. However i now get items displayed i don't want.
I have set those not to show in navigation, but now i need to somehow to the check in my code.
How would i do this?
Can i somehow check in itemdatabinding and hide the items i don't want?
Hi Andrew,
Are you using the Sitefinity SiteMap, or the default one?
Try to make a UserControl with help of the SitefinitySiteMapDataSource:
<
sfNav:SitefinitySiteMapDataSource
ID
=
"sfDatasource"
runat
=
"server"
SiteMapProvider
=
"SitefinitySiteMap"
ShowStartingNode
=
"false"
StartFromCurrentNode
=
"false"
StartingNodeOffset
=
"1"
/>
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI.NavigationControls"
TagPrefix="sfNav" %>
Thanks, that worked.