title: Retrieving page title from master page
body: <p>To manage the page title on my pages, I have a master page with a ContentPlaceHolder in the header. </p>
  
  <pre><code>&lt;head runat="server"&gt;
      &lt;asp:ContentPlaceHolder runat="server" ID="headContent"&gt;
      &lt;/asp:ContentPlaceHolder&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>On each of my pages, I add the meta tags and page title as follow:</p>
  
  <pre><code>&lt;asp:content id="Header" contentplaceholderid="headContent" runat="server"&gt;
      &lt;meta name="keywords" content="keyword1, keyword2" /&gt;   
      &lt;meta name="description" content="page description" /&gt;
      &lt;%Page.Title = "My page title";%&gt;  
  &lt;/asp:content&gt;
  </code></pre>
  
  <p>I cannot modify the code on the pages by placing the <code>Page.Title</code> in the <code>OnInit</code> method of the page.</p>
  
  <p>I need access to the page title in the codebehind of the master page, but I always get an empty title when I use <code>Page.Title</code>.  </p>