title: Dynamically adding usercontrol to placeholder
body: <p>I'm having a brain freeze moment today. I must've done this many times but just can't work it out:
  All i'm doing is running the following, but it's not saying releasestable is right.</p>
  
  <pre><code>Error   55  The type or namespace name 'releasestable' could not be found (are you missing a using directive or an assembly reference?) C:\Users\tomb\Documents\Visual Studio 2010\Projects\Findnzbs\Findnzbs\latestreleases.aspx.cs    16  11  Findnzbs
  </code></pre>
  
  <p>Heres the code:</p>
  
  <pre><code> releasestable webUserControl = (releasestable)Page.LoadControl("~/controls/releasestable.ascx");
    webUserControl.listWhere = "myWhere";
    phReleases.Controls.Add(webUserControl);
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/FDhFw.png" alt="enter image description here"></p>