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=_to p" and it replaces the entire
frameset.
But a reponse.redirec t("NewPage.as px Target=_top") becomes: http://server/NewPage.aspx%20Target=_top
How do I do this? Can I stop it from parsing the space into %20, or is
there a different method altogether I should use?
David
--
David Gordon-Brown 4 2971
You could send back a HTML page with some javascript to load your
required URL into the top level window.
Should not mess with the history list.
<script type="text/javascript">
top.location.re place( "yourURLHer e" );
</script>
Tim.
"David GB" <Da*****@discus sions.microsoft .com> wrote in message
news:32******** *************** ***********@mic rosoft.com... 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=_to p" and it replaces the entire frameset.
But a reponse.redirec t("NewPage.as px Target=_top") becomes: http://server/NewPage.aspx%20Target=_top
How do I do this? Can I stop it from parsing the space into %20, or is there a different method altogether I should use?
David -- David Gordon-Brown
Smart idea. Thanks.
I would put that into the page 'OnLoad' procedure, right?
Could it trigger pop-up blockers, though?
"Tim Williams" wrote: You could send back a HTML page with some javascript to load your required URL into the top level window. Should not mess with the history list.
<script type="text/javascript"> top.location.re place( "yourURLHer e" ); </script>
Tim.
"David GB" <Da*****@discus sions.microsoft .com> wrote in message news:32******** *************** ***********@mic rosoft.com... 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=_to p" and it replaces the entire frameset.
But a reponse.redirec t("NewPage.as px Target=_top") becomes: http://server/NewPage.aspx%20Target=_top
How do I do this? Can I stop it from parsing the space into %20, or is there a different method altogether I should use?
David -- David Gordon-Brown
David,
If you just put it in the page it will execute without having to be
called from onload. AFAIK it will not trigger pop-up blockers since
you are not opening a new window. It will, however, fail if the user
has js disabled or is not using a js-capable browser, so beware of
that.
Tim.
"David GB" <Da*****@discus sions.microsoft .com> wrote in message
news:8C******** *************** ***********@mic rosoft.com... Smart idea. Thanks.
I would put that into the page 'OnLoad' procedure, right?
Could it trigger pop-up blockers, though?
"Tim Williams" wrote:
You could send back a HTML page with some javascript to load your required URL into the top level window. Should not mess with the history list.
<script type="text/javascript"> top.location.re place( "yourURLHer e" ); </script>
Tim.
Thanks. Very helpful.
David
"Tim Williams" wrote: David,
If you just put it in the page it will execute without having to be called from onload. AFAIK it will not trigger pop-up blockers since you are not opening a new window. It will, however, fail if the user has js disabled or is not using a js-capable browser, so beware of that.
Tim.
"David GB" <Da*****@discus sions.microsoft .com> wrote in message news:8C******** *************** ***********@mic rosoft.com... Smart idea. Thanks.
I would put that into the page 'OnLoad' procedure, right?
Could it trigger pop-up blockers, though?
"Tim Williams" wrote:
You could send back a HTML page with some javascript to load your required URL into the top level window. Should not mess with the history list.
<script type="text/javascript"> top.location.re place( "yourURLHer e" ); </script>
Tim.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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?
|
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 problem i faced while using Response.Redirect is that
the page that is directed to, does not looks as
desired..the textboxes are not visible anymore and so as
|
by: Mark Kamoski |
last post by:
Hi--
I need a code sample of how to redirect from an ASP.NET page to a
frames-based html page and specifying what should load in the destination's
frames.
Any ideas?
(Even air-code is much appreciated.)
|
by: Charlie |
last post by:
Hi:
I have a button in an .aspx page in banner section of a frameset. It runs a
response.redirect to another page. The problem is page loads into active
frameset. I would like page to replace frameset entirely. How do I do
this?
Thanks,
Charlie
|
by: Tony Zoccolillo |
last post by:
I have a toolbar aspx page in a frameset. On the toolbar is a dropdownlist.
The frameset is launched from an outside source and comes in with a specific
parameter for the module desires, like...
http://myurl.com/frameset.asp?themod="A"
The dropdownlist contains the current selected module (A) and a list of
other choices (B,C,D, etc.). When a user selected a different module I want
the main URL reloads with a new param, like......
| |
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 ASPX-Seite geöffnet
werden, und zwar in einem der beiden anderen Frames. Mein Problem ist, dass
die Seite, die geöffnet werden soll, manchmal im 2. und manchmal im 3. Frame
angezeigt werden soll (je nach Benutzeraktivität).
|
by: William Sullivan |
last post by:
Have a frameset HTML page (parent) with child .aspx pages. When each of the
child pages loads, it checks to see if the user is authenticated, and if not,
redirects to the login page:
if(!this.Context.User.Identity.IsAuthenticated)
{
Response.Redirect("Login.aspx",true);
}
The problem is that if I go to the parent page directly, I get four versions
|
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 frames (one on the left and another on the right).
frameset rows="90,100%" border="0" frameSpacing="0" frameBorder="0">
frame src="Header.aspx" name="top">
|
by: KBuser |
last post by:
I recently developed an internal website with various queries against
our SQL server. I added buttons with Response.Redirect. These buttons
do not work with Internet Explorer, however when using Firefox the page
works flawless. Does anyone know why this is happening or how to fix it?
|
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,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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...
| |