juststeve
asked on
Close a popup after postback
I have some aspx code(behind) evaluating a condition that, if true, should cause a child of the existing window to close. Javascript code as below would have been used to create the popup and I can call JS function that should close it.
>>
top.open(theURL,'myWin','r esizable=y es,width=7 60,height= 470');
<<
The problem appears to be that the main window loses scope of the child because of a necessary postback. Is there a way to maintain a reference to the child so I can close it after the main postsback?
thx
--steve...
>>
top.open(theURL,'myWin','r
<<
The problem appears to be that the main window loses scope of the child because of a necessary postback. Is there a way to maintain a reference to the child so I can close it after the main postsback?
thx
--steve...
did you tried to use html hidden field?
ASKER
Nope...got a sample?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thankx!