IFRAME - Refresh Table on Parent Window - maintain IFRAME State

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Scott (smorgan_at_siuins.com)
Date: 04/12/04


Date: Mon, 12 Apr 2004 10:38:50 -0400

I have an IFRAME that is calling a stored procedure - that once completed I
need to have do a "refresh" on the PARENT window that will then call another
stored procedure to refresh a table with a result set. My problem is, I
need to keep the IFRAME at its current state. Any ideas? For example:

In the IFRAME, I would have a page that would allow the user to key in a
payment for an account, apply the payment them the page passes the payment
to a SQL Server stored procedure to insert the payment and other account
information into a table in the database. On the PARENT page, there is a
table that is keeping a "LIST" of all payments that the users has made on
all their accounts - could be one or many - evertime the user applys the
paymen in the IFRAME window, I need the PARENT window refreshed so that the
stored procedure in that page can be called to load the table that displays
the payments that have already been applied, but I cannot have the current
state of the IFRAME (payment window) changed - must stay the same - Make
sense? Just that table that lists the payments is all I need updated.
Right now I can get the PARTENT page to update ever xxxx number of seconds,
but that's not what I want, or I can get the PARENT page to update, but the
IFRAME goes back to its orginal state (information asp page), cannot get it
to maintain the payment window state.

Thanks in advance for the help.



Relevant Pages

  • Re: getElememtById used with IFrame
    ... Is there a way to get an item that is present outside the IFrame. ... to get to the parent window and then access any properties of that window like the document e.g. ... But be aware the browsers implement the so called same origin policy for cross frame/window scripting so your script in the iframe document can only access the document in the parent window if both are loaded from the same origin. ...
    (microsoft.public.scripting.jscript)
  • Re: Modal window and the return value
    ... I would really like to use the modal window because it ... I tried moving the iFrame to ... >> but I can not get the value returned to the parent window. ...
    (microsoft.public.inetserver.asp.general)
  • Re: Modal window and the return value
    ... I would really like to use the modal window because it ... I tried moving the iFrame to ... >> but I can not get the value returned to the parent window. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Refresh Parent Window from IFRAME
    ... the iframe is a frame, not a window... ... relates to the browser holding it as a parnet, ... > is just send a refresh or reload back to the parent window. ...
    (microsoft.public.inetserver.asp.general)
  • Re: Need help on how to send a variable value from an Iframe back to its parent?
    ... > var varborderfromiframe = window.Iframemain.y; ... > I'll guess that window.Iframemain is an attempt to reference an iFrame ... To get a reference to it from the parent ... > This infers that your script is in the parent window, ...
    (comp.lang.javascript)