title: closing a window after Response.End
body: <p>e.g. I have a form with a <code>ListView</code> that is in edit mode.<br>
  Something happens so that the table the Listview is using is no longer available.<br>
  I just want to be able to close the window if the user hits 'save'. </p>
  
  <p><code>In Page_Load</code>, I check if the table is available, if not, I call <code>RegisterClientScriptBlock(type,name,"window.close()").</code>  However, processing still occurs, and it goes to L<code>istView1_ItemUpdating event</code>.  </p>
  
  <p>In <code>Page_Load</code>, if the table doesn't exist, I can call Response.End to stop processing, however, the window still stays up since the script never registered.</p>
  
  <p>Any way to stop processing and close the window without having to put a custom <code>IsTableValid()</code> check in all of my methods?</p>