title: Duplicate title tags using ASP.NET MasterPage
body: <p>I need to set the title of a page dynamically, and so I use code similar to the following:</p>
  
  <pre><code>&lt;%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="~/about.aspx.cs" Inherits="Default" %&gt;
  &lt;%@ Register Assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %&gt;
  &lt;%@ MasterType VirtualPath="MasterPage.master" %&gt;
  &lt;%@ OutputCache Duration="43200" VaryByParam="*" Location="Server" %&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"&gt;
   &lt;title&gt;&lt;%=pageTitle%&gt;&lt;/title&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>But this generates duplicate title tags.  Is there any way I can get around this?  Thanks.</p>
  
  <p>EDIT: Following from the suggestions below, I now have the following in my MasterPage:</p>
  
  <pre><code>&lt;head id="Head1" runat="server"&gt;
  &lt;title&gt;Default Title&lt;/title&gt;
  ...
  &lt;asp:ContentPlaceHolder id="head" runat="server"&gt;
  &lt;/asp:ContentPlaceHolder&gt;
  &lt;/head&gt; 
  </code></pre>
  
  <p>and the following in my primary page:</p>
  
  <pre><code>    this.Title="xxx";
  </code></pre>
  
  <p>but I'm not getting any title (neither "Default Title" nor "xxx").</p>
  
  <p>EDIT: Nevermind.  Got it working using that method.</p>