473,788 Members | 2,988 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.redir ect" or similar?
Many thanks in advance.
Regards
Lamine
Jul 19 '05 #1
2 3941
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.redir ect" 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.jscr ipt
or .scripting.vbsc ript, 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******** ******@tk2msftn gp13.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.redir ect" 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
2029
by: Jackson | last post by:
Anyone now how to redirect my asp page, from a _top frame to the _parent frame?
1
2242
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 loads inside the small footer frame. I'd like it to just get rid of the frames completely when I clickon the link. Any clue? Thank you.
4
2971
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" and it replaces the entire frameset. But a reponse.redirect("NewPage.aspx Target=_top") becomes: http://server/NewPage.aspx%20Target=_top
3
3505
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 contents. How can I do this while still using a link? What I want in effect is for clicking to do: top.location.href = "mystuff.html"
2
1805
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 http://www.peace-on-earth.org/temp/test.html for actual effect) <frameset cols="15%,*" frameborder="NO" border="0" framespacing="0"> <frame src="blue.html" scrolling="NO" noresize> <frameset rows="100,*" frameborder="NO" border="0" framespacing="0">
3
7620
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 rather than just the new frameset. I have had to resort to using Javascript to do this but I'd prefer to use the server. Any ideas ho to do this?
5
7199
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 frames to be refreshed. I don't really understand how to do this. I tried with response.redirect("Frameset1.htm") but I can't set target frame _parent for this command. I regular <a href="Frameset1.htm" target="_parent">test</a> would solve my...
5
3569
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) Response.Redirect("http://webserver/policies/pppindex.htm target=_blank") End Sub Of course, this will not work. Is there some way I can get a similar result
2
1279
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
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10364
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10172
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9967
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.