Extending a UserControl
<p>I would like to extend a usercontrol by another user control. </p>

<p>Say I have a user control A - Which displays text - "Control A"</p>

<p>User control B : A and displays "Control B". </p>

<p>When I load user control B, dynamically, only "Control B" is written on the page. </p>

<p>Im using the following code to load them dynamically:</p>

<pre><code>B myControl = (B)Page.LoadControl("~/UC/B.ascx");
myPage.Controls.Add(myControl);
</code></pre>

<p>Here's the code for the user control B:</p>

<pre><code>&lt;%@ Control Language="C#" AutoEventWireup="true" CodeBehind="B.ascx.cs" Inherits="A" %&gt; 
&lt;div&gt;Control B&lt;/div&gt;
</code></pre>

<p>Any ideas, what I might be doing wrong? </p>
