iFrame replacement

  • Thread starter Thread starter John Cosmas
  • Start date Start date
J

John Cosmas

I had a page using iFrame and was able to control the contents of the
document inside of the iFrame. I took the same document, converted it into
a ASPX, and changed the iFrame to a Panel. I took the inset document and
changed it into an ASCX. Both pages are rendering correctly, but I'm not
able to update the iFrame/Panel document - the older version had header
information on the parent page, and the child page inside the iFrame
displayed the details table information by simply clicking on any one of the
items listed in the header. I'd like to reproduce this functionality.
Specifically, I need the instruction from the client-side script that will
fire off the event to the iFrame/Panel/ASCX and force it to update its
details. Here is the code I had on each row item in the header in the older
version.

onclick="document.getElementById('inset_email_details').src
='http://localhost/twweb/forms/global/tab_email_details_inset.asp?mailid=1"

TIA
JohnC
 
in the new model you will need to server postback on a click and rerender
the page with correct panel. client script is not needed (nor will it work
as panels can not be reloaded from the client like an iframe)

-- bruce (sqlwork.com)
 
Back
Top