iFrame replacement

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
 
B

bruce barker

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,083
Messages
2,570,591
Members
47,212
Latest member
RobynWiley

Latest Threads

Top