title: How do I set the page title in an ASP.NET MVC view?
body: <p>In an ASP.NET MVC view I have the following code:</p>
  
  <pre><code>&lt;% Page.Title = ViewData.Model.MyPageTitle; %&gt;
  </code></pre>
  
  <p>and when I step through it I see the Page.Title value changing to the title that I want but when you look at the page's title shown in the browser it has not been modified. It appears that this value is overwritten by something later on.</p>
  
  <p>Any ideas how the page title should be set if you want to do it dynamically?</p>