I double checked the page layout. There was no html elements inside it. Everything is placed under the ContentPlaceHolder.
The cause is improper case for the <asp:Content> control tags in my page layout. A few contorls used a lowercase "c" instead of an uppercase "C" in the word content. The page layout that had trouble had tags that looked like: <asp:content> instead of <asp:Content>.
The specific offending tag is the one associated with the page title (<asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">).
as well as asp:contentplaceholderId should be uppercase like this
<asp:contentplaceholderId="PlaceHolderPageTitle" runat="server"></asp:content
I changed the 'c' in the contentplaceholder tag to upper case like this
<asp:ContentPlaceholderID="PlaceHolderPageTitle" runat="server"></asp:Content
if deploying the solution has no result, open the layout using SP designer and modify the changes
0 comments:
Post a Comment