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

How is the best approch to show / hide place holders which are in the Master Page based on which content type the Page Layout is associated with?

In the design we have a right placeholder for all article page layouts, but for start pages which are associated with the welcome page we want to hide the right placeholder.

share|improve this question

1 Answer 1

Can you set the placeholder's visible tag to false

<asp:Content ID="Content1" ContentPlaceHolderID="whatevertheidis" Visible="false">
</asp:Content>
share|improve this answer
    
u cant set visibility false for contentplaceholder's, it will make some javascipt error..place this contentplaceholder inside one panel and make that panel visibility false to hide the placeholder. –  user4424 Aug 12 '11 at 7:45

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.