title: Call User Control Method in Master Page from Content Page
body: <p>I have a Custom User Control present in my master page that loads site-wide JavaScript libraries into the master page's head</p>
  
  <p>Like so:</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;CustomControl:MyScriptControl id="scripts" runat="server" /&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
  
          &lt;asp:ContententPlaceHolder id="pageContent" runat="server" /&gt;
  
      &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>I would like to have the page that uses the MasterPage call a method of the User Control <strong>MyScriptControl</strong> so essentially</p>
  
  <pre><code>public partial class ChildPage: System.Web.UI.Page
  {
      protected void Page_Load(object sender, EventArgs e)
      {
  
            //// Invoke Method of MasterPage's UserControl: MyScriptControl
  
      }
  }
  </code></pre>
  
  <p>Is this possible ? Or is there a better way to do this ?</p>