title: how to pass values from gridview in parent page to form in popup page
body: <p>im having a gridview in only page and on clicking a button column field Gridview1_RowCommand gets executed.What im stuck at is on how to pass a single refno(which is in the grid) to the popup page.i want to use this refno to generate a query
  help on this will really be appreciated
  the below code i wat i used and im stuck here..</p>
  
  <pre><code>protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
  {
  
      Page.RegisterStartupScript("test", "&lt;script language='javascript'&gt;Openpopup();&lt;/script&gt;");
  }
  
  
   &lt;script language='javascript'&gt;
     var popupobj;
    function Openpopup() 
  {
        popupobj = window.open("popup.aspx", "_blank", "width=1000,height=500,statusbar=no,toolbar=no,scrollbars=no,resizable=no,navbar=no,screenX=800,screenY=800top=100,left=100");
      popupobj.focus();
  }
   &lt;/script&gt;  
  </code></pre>