Page load with iFrame

G

Guest

All,
I have a main ASP .NET page, which has 2 iFrames in it and each frame hosts a different aspx page.
ie. Main.aspx hosts with iFrames
pg1.aspx and pg2.aspx.

I receive an event from one of the controls in pg1.aspx and as a reaction, the source for frame2 (pg2.aspx) must be changed dynamically to pg5.aspx.

How can we do this??
In short, is there a way to access from an ASPX page, the parent page that hosts it, so that we can call methods from it or trigger events in it??
Or is client side Javascripting the only solution for this???

Thanks in advance
Grafix.
 
B

bruce barker

client side script is the only solution.

-- bruce (sqlwork.com)

Grafix said:
All,
I have a main ASP .NET page, which has 2 iFrames in it and each frame hosts a different aspx page.
ie. Main.aspx hosts with iFrames
pg1.aspx and pg2.aspx.

I receive an event from one of the controls in pg1.aspx and as a reaction,
the source for frame2 (pg2.aspx) must be changed dynamically to pg5.aspx.
How can we do this??
In short, is there a way to access from an ASPX page, the parent page that
hosts it, so that we can call methods from it or trigger events in it??
 

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,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top