Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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)?

Thanks in advance.

share|improve this question
add comment

1 Answer

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.

share|improve this answer
    
Unfortunately IsVisible is always set to true even if the page is hidden. –  John Dec 19 '11 at 12:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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