title: How to make a popup in ASP.Net and pass information to it using a query string?
body: <p>I have all the code I need to <code>response.redirect</code> a page and pass the information I need to the other page. But I don't want it to redirect the page but rather create a popup in the page. 
  I have code for the popup also but I can't manage to pass information to it. </p>
  
  <p>This is the code for the popup and it's not passing any information:</p>
  
  <pre><code>&lt;asp:LinkButton ID="lb_viewstudenttimetable" runat="server" OnClick="lb_viewstudenttimetable_Click" 
       OnClientClick="window.open('Timetable_User.aspx','Timetable','width=640,height=360,scrollbars=yes');"&gt;
  </code></pre>
  
  <p>This is the code for the <code>OnClick</code> button where it passing information to the other page</p>
  
  <pre><code>protected void lb_viewstudenttimetable_Click(object sender, EventArgs e)
  {
      GridViewRow row = gv_classlist.SelectedRow;
      Response.Redirect("Timetable_User.aspx?UserID=" + row.Cells[1].Text + "");
      //my attempt of trying to pass the following to the popup        
      //Response.Write("window.open('Timetable_User.aspx?UserID="+row.Cells[1].Text+"','Timetable','width=640,height=360,scrollbars=yes');");
  }
  </code></pre>
  
  <p>So I wanna use <code>OnClientClick</code> to do what that <code>OnClick</code> does.</p>