473,671 Members | 2,206 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Forcing display in new browser

I have an aspx page: myPage.aspx that I want to always display in a new
brower window regardless of how it gets invoked i.e. hyperlink,
response.redire ct, server.transfer . Is there something I can embed in the
HTML to cause this? Maybe some javascript or something like that?

Thanks in Advance,
tin man
Nov 19 '05 #1
3 1128
nope. There is no way for the page to know until it loads

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Tin Man" <ti****@removes pamexcite.com> wrote in message
news:eY******** ********@tk2msf tngp13.phx.gbl. ..
I have an aspx page: myPage.aspx that I want to always display in a new
brower window regardless of how it gets invoked i.e. hyperlink,
response.redir ect, server.transfer . Is there something I can embed in the
HTML to cause this? Maybe some javascript or something like that?

Thanks in Advance,
tin man

Nov 19 '05 #2
I know that if I have a target="_blank" in the html it will cause a new
browser to display the page. I am wondering if it could be done somehow
with response.redire ct.

Maybe I could have a hidden hyperlink and modify that hyperlink from code?
tin man

"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
nope. There is no way for the page to know until it loads

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Tin Man" <ti****@removes pamexcite.com> wrote in message
news:eY******** ********@tk2msf tngp13.phx.gbl. ..
I have an aspx page: myPage.aspx that I want to always display in a new
brower window regardless of how it gets invoked i.e. hyperlink,
response.redi rect, server.transfer . Is there something I can embed in the
HTML to cause this? Maybe some javascript or something like that?

Thanks in Advance,
tin man


Nov 19 '05 #3
Cant. Response.Redire ct has no option since a "window" is a client side
issue. You'll have to pass the call back to the client to open in a new
windoe

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Tin Man" <ti****@removes pamexcite.com> wrote in message
news:Oz******** ********@TK2MSF TNGP10.phx.gbl. ..
I know that if I have a target="_blank" in the html it will cause a new
browser to display the page. I am wondering if it could be done somehow
with response.redire ct.

Maybe I could have a hidden hyperlink and modify that hyperlink from code?
tin man

"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
nope. There is no way for the page to know until it loads

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Tin Man" <ti****@removes pamexcite.com> wrote in message
news:eY******** ********@tk2msf tngp13.phx.gbl. ..
I have an aspx page: myPage.aspx that I want to always display in a new
brower window regardless of how it gets invoked i.e. hyperlink,
response.red irect, server.transfer . Is there something I can embed in
the HTML to cause this? Maybe some javascript or something like that?

Thanks in Advance,
tin man



Nov 19 '05 #4

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

Similar topics

1
2407
by: duane | last post by:
Dear Experts: I have a problem. When you enter the website I am working on, wherever you go within the website, the URL address on the website will display: "http:\\..\index.html", whether you go to "Page1.html", "Page2.html", etc. The cookies in every page is set on "<BODY onLoad = "setCookie();">. Except for index.html, all the cookies are set and written to a textfile correctly in the server. All cookie values in
3
7551
by: William Park | last post by:
(Cross-posted because I use Mozilla Firefox, but I think it's also CSS issue.) Usually when I move mouse over a link, the URL is displayed at the bottom on "status line". On some website, however, this is surpressed. This is very annoying, because I can't find out the destination URL unless I click it. When I click it, the URL shows up as soon as mouse button is pressed. So, this is A:HOVER and A:ACTIVE related. At the moment, my...
3
2479
by: Dave | last post by:
We are developing a web page that shows large graphics. To provide more screen space for the graphics, we allow the user to popup a window that places itself over the top part of the browser. This popup contains a control panel that tells the main window what to display. Because we don't want to require that the user continually ALT-TAB to go between the main window and the popup (all user controls are on the popup) in the control panel...
3
3052
by: Rennie deGraaf | last post by:
Is it possible to force adjacent block elements to have the same height, without specifying that height? In this page (http://pages.cpsc.ucalgary.ca/~degraaf/test/index3.html), I have a bunch of (red-bordered) DIVs containing an image thumbnail and a caption. These DIVs are floated to the left, and I used JavaScript to center them (since there is no float: center and most browsers don't support display: inline-block). I know the...
3
8615
by: Julie | last post by:
I have an html file where I display name,address,zip. It is one per line so it is basicall a list of addresses. But I would like ie6 to force the download prompt of this long list of names instead of displaying it to their browsers. This way they can save the list to a file. I know I can set it up as a txt file and let them download it that way, but right now this file is generated from a source program which I have no control over...
4
3395
by: randmCP | last post by:
Hi and thanks in advanced for you help. I am working on a file-distribution asp.net application. Users click on a custom grid column to download files stored on a SQL DB. The client does not want to open the file in the browser, so how can I either: 1. Display the Save Target as dialog box to download the a file when the file is in memory using the WebFileResponse class. 2. or simulate the right click (Save Target) from a hyperlink to a...
0
1139
by: damiensawyer | last post by:
Hello all, I have a master page that hosts an ASCX control and a contentplaceholder. The control displays a list of document headings. When the user clicks on a heading, I wish to redirect to the 'display note' page (which loads into the content placeholder on the master page). The issue is, that when they then click another heading, the page doesn't seem to redirect (I'm guessing because the browser is already
3
1865
by: john.carbonette | last post by:
Hi people, I've looked around but have not been to find an answer for my question. I'm looking to force a length of 4 on an integer field. Example if the field contains an 11, I would like to show it as 0011, or a 9 to show it as 0009. What do I need to do? Thanks in Advance. John
4
3660
by: ATS16805 | last post by:
Hi. I wonder if it's possible to "force" a browser to "switch to SSR mode" for any given document. Specifically, I'm looking for a solution, not to a User Agent issue (i think), but a coding idea; a programming "what if..?". i'm not concerned w/ manipulating a browser (i.e. prefs., settings this URL, always view SSR, save), but rather something i would code into the document which would request the browser to display in this mode (i.e....
0
8390
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
8909
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
8819
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
8667
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
7428
agi2029
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...
0
5690
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
4221
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
4399
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2048
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.