473,322 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

iFrame replacement

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_deta ils').src
='http://localhost/twweb/forms/global/tab_email_details_inset.asp?mailid=1"

TIA
JohnC
Nov 18 '05 #1
1 3830
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)
"John Cosmas" <va*****@msn.com> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl...
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_deta ils').src
='http://localhost/twweb/forms/global/tab_email_details_inset.asp?mailid=1"
TIA
JohnC

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Csaba2000 | last post by:
I want to be able to embed a single quote into an INPUT element within a dynamically generated IFRAME. The example below shows how the IFRAME is generated. Challenge: I'd like the alert box to...
4
by: Thomas | last post by:
Hi there, I have an iframe which is editable (designMode = "on") and want to resize it dynamically as the content grows (e.g. more lines of text is in there) and there the struggle starts. I...
2
by: Templar | last post by:
Hi i'm bothering with such problem... I must dynamic create an Iframe, and then put som raw HTML into it. But I can't. When I create iframe, I can't access its properties. Here's the coe...
7
by: Christopher J. Hahn | last post by:
I'm trying to use a script-generated form to submit to a script-generated iframe. The problem I'm running into is that the iframe is not assuming the name I assign it. IE6 on Win2000. FF1.0.2+...
16
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe");...
4
by: stephen.cunliffe | last post by:
Hi all, There's been a bunch of chatter recently about using the Object tag, vs. the Iframe tag. I couldn't care less which one is used, I just want to be able to load a "page" inside another...
0
by: tequilamala | last post by:
I have an Iframe in one of the pages i am developing... the iframe is suppose to scroll up and down and the links target the iframe. the problem is that the iframe scrolls side to side on internet...
1
by: Z1P2 | last post by:
I would like to gradually resize an iframe in an onmouseover event. I can easily do it with an image, but when I try to do it with an iframe, it doesn't do anything. So first of all, is it possible...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.