title: How to manage right click "Open in new tab" and "Open in new windows" in Linkbutton in ASP.NET?
body: <p>I have LinkButton. It populates data and on the base of it, it redirects to the next page. Now the point is that when a user <code>Right Click --&gt; Open in new tab</code> or <code>Open in new window</code> it opens blank windows.</p>
  
  <p>There have ready many issue same like this but none of them work for me.</p>
  
  <p>Here is my code:
  aspx</p>
  
  <pre><code>&lt;asp:LinkButton runat="server" 
                  ID="Link_SignUp" 
                  OnClick="Link_SignUp_Click"&gt;Signup Now!
  &lt;/asp:LinkButton&gt;
  </code></pre>
  
  <p>Click event</p>
  
  <pre><code>protected void Link_SignUp_Click(object sender, EventArgs e)
  {
      //populate data
      //make URL -- DotnetNuke
      string miUrl = base.EditUrl("", "", "portal_profile");
      //redirec to URL
      Response.Redirect(miUrl, true);
  }
  </code></pre>
  
  <p>I have tried few solutions but none of them helped me.<br>
  I have tried to set Form property <code>target = _blank</code> and it worked but I have set it manually when on clientclick. </p>
  
  <p>I want natural behavior.</p>
  
  <p>1- When a user right clicks and selects "Open in new tab", it should open in a new tab. </p>
  
  <p>2- When user right clicks and selects "Open in new window", it should open in a new window.</p>
  
  <p>3- When user left clicks, it should open in the same page.</p>