title: Asp.NET user control referenced from another project/dll has NULL properties
body: <p>Trying to move a common custom control to a new class library (also tried a new web project), so that other projects can use it, but its properties is always NULL when used in another project. Searching similar questions unfortunately do not help solve my problem. </p>
  
  <p>I register the new control in our web.base.config to Project-A</p>
  
  <pre><code>&lt;add tagPrefix="Controls" namespace="Comp.UserWebControls.Controls" assembly="Comp.UserWebControls"  /&gt;
  </code></pre>
  
  <p>The Comp.UserWebControls is added as a project reference in Project-A (I also tried adding the build dll as a reference in Project-A, no difference)</p>
  
  <p>The markup looks like</p>
  
  <pre><code>&lt;asp:Content ID="Content4" ContentPlaceHolderID="RightPlaceHolder" runat="server"&gt;
  &lt;Controls:uxMyControl ID="TestingThing" runat="server" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>In the code behind, the "TestingThing" control is instantiated, but all properties are null (Labels, textboxes, etc)</p>
  
  <p>Normally, if the control was within the same project (Project-A) then i would register the control like this:</p>
  
  <pre><code>&lt;add tagPrefix="Contols" tagName="uxMyControl" src="~/Controls/uxMyControl.ascx"/&gt;
  </code></pre>
  
  <p>And in codebehind the control object looks fine, properties are instantiated and working as expected.</p>
  
  <p>I cant do the <code>src="myPath"</code> when using an assembly so i think that has something to do with it.</p>
  
  <p>How can i seperate out this control to a new assembly/project/solution so that other projects can use it. </p>
  
  <p>Any help would be appreciated thanks!</p>