Having difficulty closing a PopUP window, after update and submit button
<p>So, I have a javaScript that calls an ASP page, using ShowModalDialog ... it works great, passes the correct information, the user is then prompted with radio button to answer a question, then if the user presses "submit" ... the data is written to a SQL table. this all works; however, I cannot get the window to close. The behavior is the program opens another page (same content as in the window popUP) only it is full page size.
When I tried to add the following code: Response.Write("script language='javascript'?window.close();") ... I get the same behavior with a message indicating that the program is trying to close the window. 
this is so frustrating because I don't understand why closing a window is so diffcult. 
Please help if you can. </p>
