title: Using multiple contentPlaceHolders in ASP.NET masterpage
body: <p>I am creating a website that has different menus in different pages. So i am creating a Master page with 3 content place holders for Page Heading, Menu and Content Respectively. I am not able to create content pages for this master page. Any help would be appreciated. Please forgive me if I have not followed the proper guidelines as I am a newbie. </p>
  
  <pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" CodeBehind="PTS.Master.cs" Inherits="PTS.UI.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;Patient Tracker System&lt;/title&gt;
      &lt;meta name="keywords" content="" /&gt;
      &lt;meta name="description" content="" /&gt;
      &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
      &lt;link href="css/style.css" rel="stylesheet" type="text/css" media="screen" /&gt;
      &lt;style type="text/css"&gt;
          .style1
          {
              font-size: small;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;section id = "main&gt;
   &lt;asp:ContentPlaceHolder ID="ContentPlaceHolderMain" runat="server"&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div id="wrapper"&gt;
      &lt;div id="page"&gt;
          &lt;div id="page-bgtop"&gt;
              &lt;div id="page-bgbtm"&gt;
                  &lt;div id="content"&gt;
                     &lt;!-- Enter Your Contents Here--&gt;
                      &lt;asp:ContentPlaceHolder ID="ContentPlaceHolderContent" runat="server"&gt;
                      &lt;/asp:ContentPlaceHolder&gt;
                  &lt;/div&gt;
                  &lt;!-- end #content --&gt;
                  &lt;div id="logo"&gt;
                      &lt;h1 class="style1"&gt;&lt;a href="#"&gt;Patient Tracker System&lt;/a&gt;&lt;/h1&gt;
                      &lt;br /&gt;
                      &lt;br /&gt;
                       &lt;asp:ContentPlaceHolder ID="ContentPlaceHolderPageHead" runat="server"&gt;
                      &lt;/asp:ContentPlaceHolder&gt;
  
                  &lt;/div&gt;
                  &lt;div id="sidebar"&gt;
  
                      &lt;%--Paste your Customized Menus--%&gt; 
                      &lt;asp:ContentPlaceHolder ID="ContentPlaceHolderMenu" runat="server"&gt;
                      &lt;/asp:ContentPlaceHolder&gt;
                  &lt;/div&gt;
                  &lt;!-- end #sidebar --&gt;
                  &lt;div style="clear: both;"&gt;&amp;nbsp;&lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;!-- end #page --&gt;
  &lt;/div&gt;
  &lt;div id="footer"&gt;
      &lt;p&gt;Copyright (c) 2012 Patient Tracker System.&lt;/p&gt;
  &lt;/div&gt;
  &lt;!-- end #footer --&gt;
      &lt;/form&gt;
       &lt;/asp:ContentPlaceHolder&gt;
      &lt;/section&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>