Iframe & Changing Parent Label Text.

R

Rob Boger

I've been trying to figure this for a few hours now and am about to give up
and thought I'd check. I'm new to asp.net so it's more than likely
something simple but I couldn't work it out.

How do you change the text of a a label on the parent window from within an
iframe?

Any help would greatly be apprecaited.

I'm looking at doing this to update the status, so it needs to be done
multiple times in the parent window. For instance:


parent.aspx:

<asp:label id='statusmessage' runat='server'/>
<iframe src='child.aspx' runat='server'></iframe>


child.aspx:

'Show Status.
' Do Something.
'Show Status
' Do Something Else ...
 

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

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top