MasterPages Inherit another MasterPage
<p>I am working on a website that has many MasterPages and one of them inherits from another master page and I am trying to add a control to the parent masterpage like this</p>

<pre><code>myMasterPage.Page.Controls.Add(new LiteralControl(theSuperStoreString.ToString()));
</code></pre>

<p>But I get the following error</p>

<pre><code>The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.
</code></pre>

<p>How can i do this?</p>

<p>Thank you</p>
