title: Open URL in new tab instead of window using c# code behind
body: <ul>
  <li>I have one PDF on my page. But I want it to be opened only when a user is logged in.</li>
  <li>For that I use a popup with login on the PDF link.</li>
  <li>When he/she tries to login using this popup, the code behind it will come in to the picture.</li>
  <li>And from there I have to decide whether or not the user can open the URL.</li>
  <li>If he/she is an authentic user, the page will get refreshed with the user login, and the PDF link will get opened in a new tab instead of a new window.</li>
  </ul>