Problems redirecting to a frame
-
I have 3 frames. Top, middle, bottom. I process some info in the top frame, store it in a session var. I then want the app to write the information out in the bottom frame. Int he bottom frame I read the session var and write it out but I can't see it. In general I seem to have a more fundamental conceptual problem. How does a frame know when to activate? In the above example, when I finish gathering the info I want in the top frame I then want the lower frame to write it. But how do I tell the lower frame that I am finsihed preparing the data and now you should to write it? Within the top frame I tried Response.Redirect(bottomframe) BUT that displayed the bottom frame where the top frame was. Obvisoulsy this is not what I wanted. I wanted the app to write the contents in the bottom frame. Thanks in advance Brian
-
I have 3 frames. Top, middle, bottom. I process some info in the top frame, store it in a session var. I then want the app to write the information out in the bottom frame. Int he bottom frame I read the session var and write it out but I can't see it. In general I seem to have a more fundamental conceptual problem. How does a frame know when to activate? In the above example, when I finish gathering the info I want in the top frame I then want the lower frame to write it. But how do I tell the lower frame that I am finsihed preparing the data and now you should to write it? Within the top frame I tried Response.Redirect(bottomframe) BUT that displayed the bottom frame where the top frame was. Obvisoulsy this is not what I wanted. I wanted the app to write the contents in the bottom frame. Thanks in advance Brian
You need to tell the bottom frame to reload its content, when you are done in the top frame. This can be done with JavaScript, but unfortunally - I can't remember the excat syntax just at this time. I would think it would be something like "parent.[framename].location.href = [pagename];" --------------------------- 127.0.0.1 - Sweet 127.0.0.1