473,379 Members | 1,184 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,379 software developers and data experts.

force aspx page in new viewer?

I have an aspx page that is always invoked by Response.Redirect calls from
other pages. I want my aspx page to always display in a new browser window.
Since the Response.Redirect calls from the other pages can't inoke _blank as
a target value, is there any way I can ensure that my aspx page always
displays in a new browser window without using javascript?
Thanks,
Tina

Nov 18 '05 #1
6 2806
instead of a _blank for the name, pass a random value
window.open(page,System.Text.RegularExpression.Reg ex.Replace(DateTime.Now,"\\D",string.emptye)...

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"T. Seaburn" <ti**********@removespamexcite.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I have an aspx page that is always invoked by Response.Redirect calls from
other pages. I want my aspx page to always display in a new browser
window.
Since the Response.Redirect calls from the other pages can't inoke _blank
as
a target value, is there any way I can ensure that my aspx page always
displays in a new browser window without using javascript?
Thanks,
Tina

Nov 18 '05 #2
You can't open a new browser window without using client-side scripts.

"T. Seaburn" <ti**********@removespamexcite.com> ¦b¶l¥ó
news:%2****************@TK2MSFTNGP11.phx.gbl ¤¤¼¶¼g...
I have an aspx page that is always invoked by Response.Redirect calls from
other pages. I want my aspx page to always display in a new browser window. Since the Response.Redirect calls from the other pages can't inoke _blank as a target value, is there any way I can ensure that my aspx page always
displays in a new browser window without using javascript?
Thanks,
Tina

Nov 18 '05 #3
Tha's not true. put an ordinary hyperlink on any aspx page and set it's
target to _blank. execute that hyperlink and the new aspx page will display
in a new window - no client script involved. I do it all the time.
T

"Lau Lei Cheong" <le****@yehoo.com.hk> wrote in message
news:OD****************@TK2MSFTNGP09.phx.gbl...
You can't open a new browser window without using client-side scripts.

"T. Seaburn" <ti**********@removespamexcite.com> ¦b¶l¥ó
news:%2****************@TK2MSFTNGP11.phx.gbl ¤¤¼¶¼g...
I have an aspx page that is always invoked by Response.Redirect calls from other pages. I want my aspx page to always display in a new browser window.
Since the Response.Redirect calls from the other pages can't inoke

_blank as
a target value, is there any way I can ensure that my aspx page always
displays in a new browser window without using javascript?
Thanks,
Tina


Nov 18 '05 #4
Seems that there isn't any click() method associated with HyperLink control,
how would you "execute" it without using client-side script?

Btw, the client-side functionalities of ASP.NET are in fact implemented by
client-side scripts such as the __doPostBack() function.

"GaryB" <gb@nospam.com> ¦b¶l¥ó news:Oj**************@TK2MSFTNGP09.phx.gbl ¤¤
¼¶¼g...
Tha's not true. put an ordinary hyperlink on any aspx page and set it's
target to _blank. execute that hyperlink and the new aspx page will display in a new window - no client script involved. I do it all the time.
T

"Lau Lei Cheong" <le****@yehoo.com.hk> wrote in message
news:OD****************@TK2MSFTNGP09.phx.gbl...
You can't open a new browser window without using client-side scripts.

"T. Seaburn" <ti**********@removespamexcite.com> ¦b¶l¥ó
news:%2****************@TK2MSFTNGP11.phx.gbl ¤¤¼¶¼g...
I have an aspx page that is always invoked by Response.Redirect calls from other pages. I want my aspx page to always display in a new browser

window.
Since the Response.Redirect calls from the other pages can't inoke

_blank
as
a target value, is there any way I can ensure that my aspx page always
displays in a new browser window without using javascript?
Thanks,
Tina



Nov 18 '05 #5
the user simply clicks on a hyperlink - no need for an event. Point is that
you don't need javascript to pop up a new window so if it can be done by a
hyperlink (without javascript) the notion was that there must be some way to
do it from code (without javascript)

"Lau Lei Cheong" <le****@yehoo.com.hk> wrote in message
news:OJ**************@tk2msftngp13.phx.gbl...
Seems that there isn't any click() method associated with HyperLink control, how would you "execute" it without using client-side script?

Btw, the client-side functionalities of ASP.NET are in fact implemented by
client-side scripts such as the __doPostBack() function.

"GaryB" <gb@nospam.com> ¦b¶l¥ó news:Oj**************@TK2MSFTNGP09.phx.gbl ¤¤ ¼¶¼g...
Tha's not true. put an ordinary hyperlink on any aspx page and set it's
target to _blank. execute that hyperlink and the new aspx page will

display
in a new window - no client script involved. I do it all the time.
T

"Lau Lei Cheong" <le****@yehoo.com.hk> wrote in message
news:OD****************@TK2MSFTNGP09.phx.gbl...
You can't open a new browser window without using client-side scripts.

"T. Seaburn" <ti**********@removespamexcite.com> ¦b¶l¥ó
news:%2****************@TK2MSFTNGP11.phx.gbl ¤¤¼¶¼g...
> I have an aspx page that is always invoked by Response.Redirect calls
from
> other pages. I want my aspx page to always display in a new browser
window.
> Since the Response.Redirect calls from the other pages can't inoke

_blank
as
> a target value, is there any way I can ensure that my aspx page

always > displays in a new browser window without using javascript?
> Thanks,
> Tina
>
>
>



Nov 18 '05 #6
I posted this in your other question

Response.Write("<script
type='text/javascript'>detailedresults=window.open('DetailedR esults.aspx');</script>")

"T. Seaburn" wrote:
I have an aspx page that is always invoked by Response.Redirect calls from
other pages. I want my aspx page to always display in a new browser window.
Since the Response.Redirect calls from the other pages can't inoke _blank as
a target value, is there any way I can ensure that my aspx page always
displays in a new browser window without using javascript?
Thanks,
Tina

Nov 18 '05 #7

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

Similar topics

5
by: Pete Wason | last post by:
Hiall! I have a demo viewer page for javascript stuff that has three buttons "DEMO" "HTML" and "JSCR", and an IFRAME called 'viewer'. Initially, the IFRAME gets loaded with the actual demo...
1
by: london calling | last post by:
Hi everyone, I am developing an application which uses custom httpmodules and httphandlers to display 'portaled' content. (asp.net 1.1) The front end consists of aspx templates which contain...
8
by: Keith H | last post by:
I'm looking for a way to force the user to re-authenticate with their Windows username/password/domain after clicking the submit button on an ASP.NET page. This is for an internal application. ...
13
by: ron1972 | last post by:
Hi I have a large pdf file that if I create an anchor link to, the browser will try to open the file, which takes quite a long time. Is there a way to force the browser to download the file rather...
9
by: Andrew Poulos | last post by:
I have some js that looks like this: fOpenPDFInNewWindow = function(url,page) { var page = page || 1; newPDF = window.open(url+"#pagemode=bookmarks&page="+page,...
7
by: steve | last post by:
Hi All I have created rdlc files and when I load them into Report Viewer at run time they appear OK If I click on 'Print layout' button on Report Viewer the view again appears acceptable ...
6
by: =?Utf-8?B?QWxoYW1icmEtRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hello mister, I want to use AcroPDF.dll (ActiveX for Acrobat Reader 7.0) in an application web ASP.NET 2.0. My question, it is possible ?? What I can do about it ? The target for me is load...
1
by: DevNll2002 | last post by:
Can it be done? ( This is a related issue to my recent post... http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/a229a66642bedfaf/870614ae257ae699...
1
by: William LaMartin | last post by:
I have an aspx page, A.aspx, that uses some xml. The source of the xml is another aspx page, B.aspx. B.aspx is populated with xml by code that depends on several Session variables. This all...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.