1
Answer

windows Warning message is coming when trying to Closing Parent window from child window

Photo of Abhishek Namdeo

Abhishek Namdeo

16y
2.7k
1
I have put this code in my child window java script part to Close Parent window from child window

try
{
if(!window.opener.closed)
{


alert(window.opener.location);

window.opener.close();
}
}
catch(err)
{
}



But while clicking the close button , its giving one alert message "the window you are viewing is trying to close . Do you.....?".

I dont want this message.
Can anybody help me in thi.

Thanks in advance


Answers (1)

0
Photo of Madhu K
NA 2k 446k 14y
Have a look here
For connection string
http://www.c-sharpcorner.com/UploadFile/abhikumarvatsa/2097/Default.aspx

File stream and Memory stream
http://www.aspfree.com/c/a/C-Sharp/C-Sharp-FileStream-Explained/