title: Content control not accessbile from content page?
body: <p>My content page looks like this:</p>
  
  <pre><code>&lt;%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Basket.aspx.cs" Inherits="Basket" Title="Untitled Page" %&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;
  </code></pre>
  
  <p>Now, I would like to add some controls dynamically to the content when page loads, so I am trying the following code:</p>
  
  <pre><code>  protected void Page_Load(object sender, EventArgs e)
    {
       Content2. // I want to add controls to it dynamically
    }
  </code></pre>
  
  <p>The problem is that the <code>Content2</code> control is not visible by the compiler and I am getting error about missing directive or assembly reference.</p>
  
  <p>Any solution?</p>