Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Okay, so I have two pages that inherit from the same Master template, seen here:
<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %><asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server"> <!-- meta data, header, footer etc. omitted -->
<asp:ContentPlaceHolder runat="server" id="MasterContentPlaceHolder" />
Okay, next I have two child pages, called "about" and "home" (I would want to create more), they are implemented the same way, only different in content, this is an example of one:
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %> <asp:Content ContentPlaceHolderID="MasterContentPlaceHolder" runat="server"> <!--- some content here--></asp:Content>
Now the problem is, that when I create the two pages (e.g. about and home), only one displays the content placed in the respective placeholder as seen above. So as it is right now, I can only see the content of my about page, whereas home just renders the css/html of the master page, but none of the content injected in the placeholder.
I dont get it, I have looked through forums and example code, and I cant seem to find any difference or explanation, please help out..
i'd be inclined to think that there MUST be a difference somewhere otherwise it would work! have you tried doing it with all of your html markup removed and just the asp controls?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted