title: asp LinkButton _doPostBack
body: <p>I have the following menu:</p>
  
  <pre><code>&lt;header class="logged-in clearfix" runat="server" id="hdrLoggedIn" visible="false"&gt;
      &lt;div class="container"&gt;
          &lt;div class="navbar-collapse collapse"&gt;
              &lt;ul class="nav navbar-nav"&gt;
                  &lt;li runat="server" ID="liLoggedIn"&gt;&lt;asp:LinkButton runat="server" ID="btnLoggedIn" OnClick="btnLoggedIn_Click" CausesValidation="false" /&gt;&lt;/li&gt;
                  &lt;li runat="server" ID="liChangePwd"&gt;&lt;asp:LinkButton runat="server" ID="btnChangePwd" Text="Change Password" OnClick="btnChangePwd_Click" CausesValidation="false" /&gt;&lt;/li&gt;
                  &lt;li runat="server" ID="liIdUpload"&gt;&lt;asp:LinkButton runat="server" ID="btnIdUpload" Text="ID Upload" OnClick="lnkIdUpload_Click" CausesValidation="false" /&gt;&lt;/li&gt;    
                  &lt;li runat="server" ID="liAdmin"&gt;&lt;asp:LinkButton runat="server" ID="btnAdmin" Text="Admin" OnClick="btnAdmin_Click" CausesValidation="false" /&gt;&lt;/li&gt;     
                  &lt;li runat="server" ID="liLogout"&gt;&lt;asp:LinkButton runat="server" ID="btnLogout" Text="Logout" OnClick="btnLogout_Click" CausesValidation="false" /&gt;&lt;/li&gt;
                  &lt;li runat="server" ID="liUnsub"&gt;&lt;a href="unsubscribe.aspx"&gt;Unsubscribe User&lt;/a&gt;&lt;/li&gt;
                  &lt;li runat="server" ID="liPerfMon"&gt;&lt;a href="adminmonitor.aspx"&gt;Performance Monitor&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/header&gt;
  </code></pre>
  
  <p>And this in developer tools:</p>
  
  <p><a href="https://i.stack.imgur.com/v6pwu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v6pwu.png" alt="enter image description here"></a></p>
  
  <p>Which leads me to believe that asp.net is adding in the <code>_doPostBack</code> function (unless I am missing something as I did not make this application).</p>
  
  <p>This is a global header menu declared in the master page.</p>
  
  <p>My problem is that, the menu works fine on all the pages except one particular page.</p>
  
  <p>I have tried adding a <code>Response.Write</code> to the <code>onClick</code> method, but this does not get triggered, which leads me to believe that the <code>onClick</code> is not getting fired.</p>
  
  <p>If it is not getting fired, it seems the most obvious possibility is that the <code>_doPostBack</code> is somehow failing and preventing the <code>onClick</code> method from firing?</p>
  
  <p>If this is the case, or sounds sensible to anyone, why is this happening, and what can I do to resolve it.</p>
  
  <p>Possibly something in the page it is not working or is conflicting with the <code>_doPostBack</code> ? Or something else?</p>
  
  <p>Any ideas?</p>