I am facing problem in closing the child windows which are opened from my Parent window. I have different modules in my application. If am opening multiple child windows from one of the module i am able to close all the child windows when i click the logout on my parent window using the below code.
am getting all the references of the child windows using array and closing all at a time.
But problem is when am opening 1 child window from one module and another child window from another child window , and if i click the parent window logot button the latest child window which i opened is getting close and the other is not.
Only way the parent would be able to keep track of who opened what is to open all of the pop up windows from the parent window
from the child windows you would have to do
Joined: May 11, 2006
I forgot to mention , when i move from one module to another module the global variable in which we kept the popup references will be resetted again. So is there any possiblity to persist the global variable.
Joined: Nov 08, 2001
subject: How to Close multiple child windows from a parent window