title: Disable Hyperlink of Master page from content page
body: <pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" CodeBehind="AssociateMaster.master.cs" Inherits="EQ.AssociateMaster" %&gt;
  &lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %&gt;
      &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head id="Head1" runat="server"&gt;
          &lt;title&gt;Employee Quotient&lt;/title&gt;
              &lt;meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" /&gt;
                  &lt;link href="Styles/style.css" rel="stylesheet" type="text/css" /&gt;
                  &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt; 
                  &lt;script src="Scripts/jquery.alerts.js" type="text/javascript"&gt;&lt;/script&gt;
                  &lt;script src="Scripts/jquery-1.3.2.min.js" type="text/javascript"&gt;&lt;/script&gt;
                  &lt;script src="Scripts/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
                  &lt;link href="Styles/jquery.alerts.css" rel="stylesheet" type="text/css" /&gt;
                  &lt;meta name="Author" content="Dharmendra Kumar Singh" /&gt;
                  &lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /&gt;
              &lt;!--[if lt IE 7]&gt;
                &lt;link rel="stylesheet" href="iefixes.css" type="text/css" /&gt;
              &lt;![endif]--&gt;
      &lt;/head&gt;
      &lt;script type="text/jscript"&gt;
          function clock(){
              var d = new Date();
              var h = d.getHours();
              var m = d.getMinutes();
              var s = d.getSeconds();
              if (parseInt(h) &lt; 10)
                  h = "0" + h;
              if (parseInt(m) &lt; 10)
                  m = "0" + m;
              if (parseInt(s) &lt; 10)
                  s = "0" + s;
              $('#clock').html(", " + h + "&lt;span class='colon'&gt;:&lt;/span&gt;" + m + "&lt;span class='colon'&gt;:&lt;/span&gt;" + s);
              //  $('.colon').fadeTo(1000, .2);  
              setTimeout(clock, 1000); 
  
          } 
      &lt;/script&gt;
      &lt;body onload="clock()"&gt;
          &lt;div id="container"&gt;
            &lt;div id="header"&gt;
              &lt;div id="logo"&gt;
               &lt;div id="Div1"&gt;
                &lt;h1 style="color:White;"&gt; New EQ &lt;%--&lt;a href="../Associates/Home.aspx"&gt;&lt;img style="width: 140px; height: 80px;" src="../images/eq.jpg" alt="" /&gt;&lt;/a&gt;--%&gt;&lt;/h1&gt;
              &lt;/div&gt;
              &lt;/div&gt;
              &lt;form id="search" method="get" action=""&gt;
                &lt;div&gt;
                &lt;table&gt;
                &lt;tr&gt;
                &lt;td&gt;&lt;asp:Label ID="lblUser" runat="server" Text="Label" Font-Bold="true" Font-Size="16px" ForeColor="White"&gt;&lt;/asp:Label&gt;&lt;/td&gt;
                &lt;td&gt;&lt;span class="line-separator"&gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
                &lt;td&gt;
                &lt;asp:HyperLink ID="SignOut" runat="server"  style="color:White;font-size:15px;font-family:Calibri; background-color:transparent;font-weight: bold;" NavigateUrl="~/Account/EQLogin.aspx"&gt;Sign Out&lt;/asp:HyperLink&gt;&lt;/td&gt;
                &lt;/tr&gt;
                &lt;/table&gt;
                &lt;table&gt;
                &lt;tr&gt;
                &lt;td &gt;
                      &lt;asp:Label ID="lblDate" runat="server" style="font-family:Calibri;color:White;font-weight:bold;font-size:1.3em;" /&gt;
                      &lt;span id="clock" style="font-family:Calibri;color:White;font-weight:bold;font-size:1.3em;"&gt;&lt;/span&gt;
                 &lt;/td&gt;
                &lt;/tr&gt;
                &lt;/table&gt;
                &lt;/div&gt;
              &lt;/form&gt;
            &lt;/div&gt;
            &lt;div id="menu" &gt;
              &lt;ul&gt;
                &lt;li&gt;&lt;a href="../Associates/Home.aspx"&gt;Home&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="../Associates/Report.aspx"&gt;Report&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="../Associates/MyProfile.aspx"&gt;Profile&lt;/a&gt;&lt;/li&gt;      
              &lt;/ul&gt;
            &lt;/div&gt;
            &lt;asp:ContentPlaceHolder ID="cphContent" runat="server" /&gt;
            &lt;/div&gt;
          &lt;div id="footer"&gt;
            &lt;div id="footer-left"&gt;&lt;/div&gt;
            &lt;div id="footer-right"&gt;&lt;/div&gt;
            &lt;div id="footer-content"&gt;
              &lt;div id="footer-navigation"&gt;  &lt;/div&gt;
              &lt;p&gt;Copyright &amp;copy; DKS  All rights reserved.&lt;/p&gt;
            &lt;/div&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This is the code of my master page and i want to disable all the hyperlinks of this master page from the content page .There is a scenario when we are forcing user to not leave that content page from any ways and for that reason i want to disable all the hyperlinks of this master page.
  Please guide me that how i disable this. I am not using Script Manager as i had applied Script manage on every content page and till now developed so many pages so not possible to roll back and apply script manager on master page.</p>