473,407 Members | 2,315 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,407 software developers and data experts.

Response.Redirect() and Frames

I have a page that's viewed within an Iframe. This page has some code
behind it, including a reference to another class in the project which,
depending on certain conditions, may perform a Response.Redirect().
However, the redirect only occurs within the Iframe. Is there a way to
get it to redirect the parent frame (_top) instead?
Regards,
David P. Donahue
dd******@ccs.neu.edu
Nov 17 '05 #1
1 2618
David,

What you would have to do is in the new page that the response is
redirected to, use a piece of javascript to set the location of the document
at the top level to the new page you want to be redirected to.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"David P. Donahue" <dd******@ccs.neu.edu> wrote in message
news:uB**************@TK2MSFTNGP15.phx.gbl...
I have a page that's viewed within an Iframe. This page has some code
behind it, including a reference to another class in the project which,
depending on certain conditions, may perform a Response.Redirect().
However, the redirect only occurs within the Iframe. Is there a way to get
it to redirect the parent frame (_top) instead?
Regards,
David P. Donahue
dd******@ccs.neu.edu

Nov 17 '05 #2

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

Similar topics

2
by: Ron Howard | last post by:
I am trying to use the following in an ASP page to redirect a user to a non-anonymous FTP site: response.redirect("ftp://myusername:mypassword@ftp.mysite.com") but I keep getting a "permission...
3
by: Steve | last post by:
I have a page which has some frames. After processing one of the pages I want to redirect to another frameset. However, when I use Response.Redirect I end up with a frameset with the frameset...
3
by: Justin | last post by:
Hi, Im confused here over the usage of Response.Redirect and Server.Transfer. I used frameset for my work, what are the proper usages of the two methods that seems working similar.. The...
2
by: Chris Podmore | last post by:
This is driving me mad so any help will be much appreciated. I have an html page with 3 frames, banner, left and right. The banner frames source is an aspx page. The aspx page has two buttons,...
1
by: Youss33 | last post by:
Hello, On Seesion.TimeOut I woul like to redirect the users to the login page. I am using Frames and when I put Response.Redirect in the Session_End of the Global.asax this redirect into the...
5
by: Jim in Arizona | last post by:
I have a site that uses frames. I made an aspx form with an asp:button control with Onclick=test. The test sub is: Sub Test(ByVal sender As Object, ByVal e As System.EventArgs) ...
2
by: news://news.microsoft.com/microsoft.public.de.germ | last post by:
Hallo! Ich habe ein Frameset mit 3 Frames. Im 1. Frame wird eine ASPX-Seite geöffnet. In dieser werden einige Steuerelemente angezeigt. Nun soll bei bestimmten Benutzeraktivitäten eine andere...
3
by: PKin via DotNetMonster.com | last post by:
Hi, I really need som help here. I have read a lot of thread about Frames ans response.redirect and I know by now that I cannot use response redirect and I have to use "some kind of javascript on...
2
by: Charles A. Lackman | last post by:
Hello, I have an ASPX page that is storing data into a session Variable: Session("Name") = "Chuck" When the User clicks "Next" on the page, it naviages to "Details.aspx", Details.aspx has two...
3
by: Luke Xu | last post by:
In Heyperlink, you can specify the target of URL, such as _blank. But how can I specify the target in Response.Redirect? Thanks Luke
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.