473,386 Members | 1,706 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,386 software developers and data experts.

Redirect from one frame to _Parent or _Top

Please help?
I have my application with four frames and would like to redirect from one
frame to _parent or _top.
Can I do that with "Response.redirect" or similar?
Many thanks in advance.
Regards
Lamine
Jul 19 '05 #1
2 3925
Lamine Darbouche wrote:
Please help?
I have my application with four frames and would like to redirect
from one frame to _parent or _top.
Can I do that with "Response.redirect" or similar?
Many thanks in advance.
Regards
Lamine


No. ASP code knows nothing about frames. You need to do this in client-side
code. One way is by setting the src property of the desired frame object.
Please follow up in a client-side code newsgroup such as .scripting.jscript
or .scripting.vbscript, or one of the groups with "dhtml" in its name.

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 19 '05 #2
The server cannot redirect to a different frame, as it is completely unware
of what a frame is. ONly the browser knows a frame. To the server,
"<frame>" is just more meaningless text in the response. You have to use
client side code to interact with frames.

Ray at work

"Lamine Darbouche" <la******@mpt-ltd.com> wrote in message
news:ek**************@tk2msftngp13.phx.gbl...
Please help?
I have my application with four frames and would like to redirect from one
frame to _parent or _top.
Can I do that with "Response.redirect" or similar?
Many thanks in advance.
Regards
Lamine

Jul 19 '05 #3

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

Similar topics

1
by: Jackson | last post by:
Anyone now how to redirect my asp page, from a _top frame to the _parent frame?
1
by: Dean J Garrett | last post by:
If you have a webpage with frames, say a footer frame that contains links, how can you get out of the frame if you click on a link in the footer. The it works now, is if I click on a link, the page...
4
by: David GB | last post by:
If a page runnning in a frame does a redirect, the new page is loaded into the same frame. How do I do a redirect that 'looses' the frameset? In html, you can create a link with "target=_top"...
3
by: Tim Streater | last post by:
I have, as it might be, this in a frame: <a href="mystuff.html">Click here</a> When I click the link, it loads mystuff.html into the frame, whereas what I want is to replace the whole window...
2
by: Nuit Blanche | last post by:
Hi, I'd deeply appreciate if anyone can come out and rescue. It appears to be a simply problem. But I just can't make it work. Suppose I set up a frame document like the following (see...
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...
5
by: MB | last post by:
Hello! I am using a frameset and vb codebehind to work with a database. When pressing a delete button in one of my frames, I want the hole application to be refreshed, or at least another of my...
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: ABC | last post by:
I have a frameset asp.net site. I want add a link to logout. I can redirect the page to login page. But it showed on one frame, not my expected the whole browse area. How should I do?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.