I have a web part that displays all pages in a repeater from the current site. If I go to site settings -> navigation and hide one of the pages then I don't want this page to be displayed in the web part. Is this a property for the page or in the navigation (Navigation.TopNavigationBar)?


I think that translates to PortalSiteMapNode.IsVisible property. So if you are displaying the pages using PortalSiteMapProvider as underlying data source, the page should be not be visible.

  • Unfortunately IsVisible is always set to true even if the page is hidden. – John Dec 19 '11 at 12:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.