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

help in redirecting asp pages on a page using frames

hi
i am facing this problem when i redirect to a asp page using -

Response.redirect "mynext.asp"

the problem is that the current page is using frames so this
mynext.asp is also getting loaded in the frame itself. i need to
remove all the frames and load this mynext.asp in the entire browser
window. kind of like the <a href="mynext.htm" target="_top"> of html

how can this be done. please advice.
thanks
Jul 19 '05 #1
2 1646
quitaxe wrote:
hi
i am facing this problem when i redirect to a asp page using -

Response.redirect "mynext.asp"

the problem is that the current page is using frames so this
mynext.asp is also getting loaded in the frame itself. i need to
remove all the frames and load this mynext.asp in the entire browser
window. kind of like the <a href="mynext.htm" target="_top"> of html

how can this be done. please advice.
thanks

Use the <FORM> element's target attribute.
--
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
You cannot target a specific window from server-side code because the server
knows nothing of what windows are available. The browser controls the
windows so you need to user client-side code. Instead of response.redirect
try outputting HTML containing:

<script language="javascript">
top.document.location = "mynext.asp"'
</script>
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"quitaxe" <qu*****@hotmail.com> wrote in message
news:73**************************@posting.google.c om...
hi
i am facing this problem when i redirect to a asp page using -

Response.redirect "mynext.asp"

the problem is that the current page is using frames so this
mynext.asp is also getting loaded in the frame itself. i need to
remove all the frames and load this mynext.asp in the entire browser
window. kind of like the <a href="mynext.htm" target="_top"> of html

how can this be done. please advice.
thanks

Jul 19 '05 #3

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

Similar topics

1
by: Dave Smithz | last post by:
Hi there, I have implemented a login sequence using session variables for a PHP/MySQL DB which I took over development. I read some books and this NG and it seemed straight forward. However the...
3
by: Dynamo | last post by:
Hi My site uses frames and some of the frame pages are ranked higher in search engine rankings than the main page. When somebody clicks on the link it takes them to the frame page and they don't...
0
by: Jim | last post by:
I need some help getting started with a .NET web project for a commercial site. I am new to .NET and my understanding of some (but not all) of its concepts is a little sparse. I apologize for the...
5
by: PaulThomas | last post by:
Working with XP-Pro and VS.Net I have set my Start Page to "Home.aspx" but the application always starts the "Login" page - - - How can I change the start page to the Home.aspx??? On the login...
2
by: Jim | last post by:
OK....so I got a little off-topic last time....... I still want to do a simple web page like MSDN Library (http://msdn.microsoft.com/library/default.asp) with a couple of changes. On my...
20
by: M.Siler | last post by:
Let me first by saying I am NOT a .net programmer, but am very skilled with ASP, JavaScript, HTML, DHTML, Flash development. I've been reading through posts here about Frames vs. Master Pages and...
2
by: Prophet | last post by:
Can someone help me troubleshoot this IISSTATE log ? I have tried to make sense out of it but with no luck I am currently running IIS5 on a Win 2k box. Hosting 3 web sites and runnning asp...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
9
by: Jonathan Wood | last post by:
I've spent days trying to come up with a solution. I'd appreciate it if anyone can help. My site requires all users to log on. There are three different roles of users, and each user type will...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.