title: ASp.Net Link button click event is not fired,
body: <p>This is a very strange scenario,</p>
  
  <p>Suppose, I browse my site like "<a href="http://web.site.com" rel="nofollow">http://web.site.com</a>" this way. my site display perfectly my Home page, on this page on the top, i am using one user control and this user control is displaying a logout Link button. </p>
  
  <p>case 1:
  When i click this button in this scenario then its does not fired,</p>
  
  <p>Case 2:
  But if i open my site like "<a href="http://web.site.com/default.aspx" rel="nofollow">http://web.site.com/default.aspx</a>" then its work correctly and fired.</p>
  
  <p>Can any one suggest me on this?</p>
  
  <p>the below control is using in user control</p>
  
  <pre><code>&lt;asp:linkbutton id="logoutLinkButton" runat="server" 
           onclick="logoutLinkButton_Click1"&gt;logout&lt;/asp:linkbutton&gt;
  </code></pre>
  
  <p>and the Link button event code is </p>
  
  <pre><code>protected void logoutLinkButton_Click1(object sender, EventArgs e)
           {
               var url = this.Request.RawUrl;
               Authentication.Logout();
               Response.Redirect(url); 
           }
  </code></pre>