Author: hkbeer | Posted on: 10/29/2009 6:37:15 AM | Views : 280

I am using the following code to close the existing page but the user's browers come up with a prompt asking Yes No. I want it close without any prompt. Is there way to add parameter to skip the Y/N prompt ?
Thanks !! 
 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  
  
  
       <script type="text/javascript">
   
       //Closes the browser window
       function CloseWindow()
       {
          window.opener = 'x';
          window.close();
       }
      ...

Go to the complete details ...