Forum Moderators: phranque

Message Too Old, No Replies

iframe parent top

Trying to get rid of iframe once I'm done with it.

         

pullhard

11:58 am on Nov 10, 2007 (gmt 0)

10+ Year Member



I am using a single <iframe> on the bottom of mainpage.asp to display searching tools contained on searchpage.asp. Once I have located the record using searchpage.asp, I am using a redirect in searchpage.asp to send the control back to mainpage.asp. The problem is: When it returns to mainpage.asp, it draws it inside the iframe of the original mainpage.asp.

I have tried using the following in the searchpage.asp, but have not been able to make the mainpage.asp display without the iframe.

reponse.redirect("mainpage.asp target=_top") ' Also tried _parent and _blank

I have also tried forcing mainpage.asp to redraw using a similar redirect command within mainpage.asp, but I still get the iframe and a don't get a fresh page.

Monkey

12:03 am on Nov 11, 2007 (gmt 0)

10+ Year Member



Would suggest using Server Side includes

Have sent you a sticky for a URL

Monkey

12:05 am on Nov 11, 2007 (gmt 0)

10+ Year Member



To execute an ASP page within the current page, use the Execute method of the Server object