title: Execute Page_Load on MAIN.aspx after/while returning from a CHILD (windowed) aspx page
body: <p>Although, I am certified, this is my first real program, so please bear with my novice questions. I checked this, and other forums, for an answer and didn't find any.</p>
  
  <p>I have a MAIN.aspx, from where I launch a windowed aspx page using: </p>
  
  <pre><code>    ClientScript.RegisterStartupScript(typeof(Page), "", 
      "&lt;script type='text/javascript'&gt;window.open        
      ('CHILD.aspx','','width=800,height=400,toolbar=no,location=no,
      directories=no,status=no,menubar=no,scrollbars=yes,
      resizeable=no,copyhistory=no');&lt;/script&gt;", false);
  </code></pre>
  
  <p>This child aspx page displays a gridview with a list of entries that can be selected using a "<code>Select</code>" button. On selecting one, user can click on an exit button, to return to the <code>MAIN. aspx</code>. The return is performed with these two lines of code:</p>
  
  <pre><code>    protected void btnExit_Click(object sender, EventArgs e)
      {
          // this line allows the capture of selected values 
          gvSelection_SelectedIndexChanged(sender, e); 
          ClientScript.RegisterStartupScript(typeof(Page), "", "window.close()", true);
      }
  </code></pre>
  
  <p>So, far I have been able to verify that on returning to <code>MAIN.aspx</code> the values that I saved are usable, <code>EXCEPT...</code> <code>Page_Load</code> won't execute for obvious reasons.</p>
  
  <p>I need help on how to <code>EXECUTE</code> MA<code>IN.ASPX</code>("<code>Page_Load</code>") while exiting from the windowed ASPX page.</p>