Multiple content holders in a master page
<p>I created a simple web application project in VS 2008. I added a master page to it. I then added two panels to it. In each panel I added a ContentPlaceHolder. To each ContentPlaceHolder I added a ContentPage.</p>

<p>When I run it using the Vs 2008 internal web server none of the Content holder pages are displayed. Any help? I suspect there is something I am doing fundamentally wrong.</p>

<p>Thanks.</p>

<p>Here is the code:</p>

<pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="WebApplication5.Site1" %&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
&lt;head runat="server"&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;asp:ContentPlaceHolder ID="head" runat="server"&gt;
    &lt;/asp:ContentPlaceHolder&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;asp:Panel ID="Panel1" runat="server" Height="300px" Width="200px" Style="z-index: auto;
        left: 0px; top: 0px; position: absolute"&gt;
        &lt;asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"&gt;
        &lt;/asp:ContentPlaceHolder&gt;
    &lt;/asp:Panel&gt;
    &lt;asp:Panel ID="Panel2" runat="server" Height="300px" Width="200px" Style="z-index: auto;
        left: 205px; top: 0px; position: absolute"&gt;
        &lt;asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server"&gt;
        &lt;/asp:ContentPlaceHolder&gt;
    &lt;/asp:Panel&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;




&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication5.WebForm1" %&gt;
&lt;asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"&gt;
&lt;/asp:Content&gt;
&lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"&gt;
Content Page 1
&lt;/asp:Content&gt;
&lt;asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server"&gt;
&lt;/asp:Content&gt;





&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication5.WebForm2" %&gt;
&lt;asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"&gt;
&lt;/asp:Content&gt;
&lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"&gt;
&lt;/asp:Content&gt;
&lt;asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server"&gt;
Content Page 2
&lt;/asp:Content&gt;
</code></pre>
