0

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.

1 Answer 1

1

Can you set the placeholder's visible tag to false

<asp:Content ID="Content1" ContentPlaceHolderID="whatevertheidis" Visible="false">
</asp:Content>
1
  • 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
    Commented Aug 12, 2011 at 7:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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