• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Close multiple child windows from a parent window

 
Uppala Srinivas
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

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.

Please help me in this. Greatly appreciate it.>
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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




Eric>
 
Uppala Srinivas
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic