title: disable usercontrol on the load of master page
body: <p>I am using master page on some pages. And that master page is loading the user control. So I want to disable or enable user control on some page load which has master page.  </p>
  
  <hr>
  
  <p>Is there anyway can I disable User control on master page Page_load()</p>
  
  <hr>
  
  <pre><code>&lt;div class="ucTabCtrl" &gt;
      &lt;uc1:TLTabControl ID="ctrlname" runat="server" Visible="False" /&gt;
  &lt;/div&gt;
  
  Master Page_load()
  {
   // checking some condition if true
   ctrlname.visible = true;
  }
  </code></pre>
  
  <p>but the problem is I'm not able to get the instance of user ctrl, in short ctrlname is null all the time.</p>