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

Redirect to _parent frame

Anyone now how to redirect my asp page, from a _top frame to the _parent
frame?
Jul 19 '05 #1
1 1983
Jackson wrote:
Anyone now how to redirect my asp page, from a _top frame to the
_parent frame?


You can't "redirect" a Request once it's been submitted. Redirect is a
server-side function, and the server knows nothing about the client browser
and whether or not it's displaying frames or not.

What you CAN do is use the form tag's target attribute to cause the form to
be submitted in the other frame:
<form action="somepage.asp" target="nameofotherframe" ...>

HTH,
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #2

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

Similar topics

2
by: Lamine Darbouche | last post by:
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....
9
by: middletree | last post by:
In using a page with IFrame, I woudl like to write a line like this: If (certain criteria met) then response.redirect(somepage.asp) end if Pretty simple, except that I would like to make it...
1
by: Cantekin Guneser | last post by:
in my project i am using framesets, at the left frame set notmally i am using hiperlink element with target to redirect main frame this is ordinary, but now i need to redirect main frame with...
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...
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...
1
by: Just D. | last post by:
All, How can we redirect to another frame from the C# code? I usually use Response.Redirect("TargetPage.aspx") to redirect inside the current frame, but I don't know really how can I change the...
2
by: Rob | last post by:
Hi Gang: I have a page that loads a remote page into an IFRAME. I don't have any control over this remote page though the page is owned by the same company I work for. The problem is that all...
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.