title: Issue while enabling hyperlinks in master page from content page
body: <p>I had written code to Enable and disable hyperlinks on master page from the content page. Every thing is working fine and the hyperlinks are getting disabled also after calling the <code>DisableHyperlinkInMasterPage</code> Method. When i am calling the <code>EnableHyperlinkInMasterPage</code> method still the hyperlinks are not working. If we are leaving that page , then i found that the hyperlinks starts working. My issue is after calling the <code>EnableHyperlinkInMasterPage</code>  method , without leaving the page the hyperlinks are still disabled and not working and after leaving the page it getting enabled . Please help me that how i fix this issue.I debug the code and not found any error on <code>EnableHyperlinkInMasterPage</code> method.</p>
  
  <pre><code>private void DisableHyperlinkInMasterPage()
      {
          AssociateMaster mymaster = (AssociateMaster)Page.Master;
          HyperLink home = (HyperLink)mymaster.FindControl("Home");
          home.Enabled = false;
          HyperLink profile = (HyperLink)mymaster.FindControl("ProfileLink");
          profile.Enabled = false;
          HyperLink report = (HyperLink)mymaster.FindControl("Report");
          report.Enabled = false;
          HyperLink signout = (HyperLink)mymaster.FindControl("SignOut");
          signout.Enabled = false;
      }
  
      private void EnableHyperlinkInMasterPage()
      {
          AssociateMaster mymaster = (AssociateMaster)Page.Master;
          HyperLink home = (HyperLink)mymaster.FindControl("Home");
          home.Enabled = true;
          HyperLink profile = (HyperLink)mymaster.FindControl("ProfileLink");
          profile.Enabled = true;
          HyperLink report = (HyperLink)mymaster.FindControl("Report");
          report.Enabled = true;
          HyperLink signout = (HyperLink)mymaster.FindControl("SignOut");
          signout.Enabled = true;
      }
  </code></pre>