473,811 Members | 3,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Target for aspx page

I have an aspx page that is always invoked by Response.Redire ct calls from
other pages. I want my aspx page to always display in a new browser window.
Since the Response.Redire ct 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?
Thanks,
Tina
Nov 18 '05 #1
6 1681
why not use javascript instead?
--
Saber S.
http://maghalat.com (Persian)
"T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
news:O1******** ******@TK2MSFTN GP11.phx.gbl...
I have an aspx page that is always invoked by Response.Redire ct calls from
other pages. I want my aspx page to always display in a new browser
window.
Since the Response.Redire ct 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?
Thanks,
Tina

Nov 18 '05 #2
It's currently a rule here not to use any javascript. as least we use it as
a last resort.
T

"Saber" <saber[-.-AT.--]maghalat.com> wrote in message
news:ek******** ******@TK2MSFTN GP15.phx.gbl...
why not use javascript instead?
--
Saber S.
http://maghalat.com (Persian)
"T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
news:O1******** ******@TK2MSFTN GP11.phx.gbl...
I have an aspx page that is always invoked by Response.Redire ct calls from other pages. I want my aspx page to always display in a new browser
window.
Since the Response.Redire ct 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?
Thanks,
Tina


Nov 18 '05 #3
You can't open a new window from the server. It's a client-side task that
can be accomplished only with a client-side script.

I am just wondering how many successful asp.net sites has the person who
wrote your rules made?

Eliyahu

"T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
news:O$******** ******@TK2MSFTN GP12.phx.gbl...
It's currently a rule here not to use any javascript. as least we use it as a last resort.
T

"Saber" <saber[-.-AT.--]maghalat.com> wrote in message
news:ek******** ******@TK2MSFTN GP15.phx.gbl...
why not use javascript instead?
--
Saber S.
http://maghalat.com (Persian)
"T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
news:O1******** ******@TK2MSFTN GP11.phx.gbl...
I have an aspx page that is always invoked by Response.Redire ct calls from other pages. I want my aspx page to always display in a new browser
window.
Since the Response.Redire ct 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?
Thanks,
Tina



Nov 18 '05 #4
That's not true. take an ordinary Hyperlink on any aspx page that links to
another aspx page. set it's target property to _blank and the new aspx page
will pop up in a new browser window. No client script was involved. I'm
just trying to do the same thing from a respnse.redirec t that we all often
do from hyperlinks.
T

"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message
news:Ov******** ******@TK2MSFTN GP15.phx.gbl...
You can't open a new window from the server. It's a client-side task that
can be accomplished only with a client-side script.

I am just wondering how many successful asp.net sites has the person who
wrote your rules made?

Eliyahu

"T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
news:O$******** ******@TK2MSFTN GP12.phx.gbl...
It's currently a rule here not to use any javascript. as least we use
it as
a last resort.
T

"Saber" <saber[-.-AT.--]maghalat.com> wrote in message
news:ek******** ******@TK2MSFTN GP15.phx.gbl...
why not use javascript instead?
--
Saber S.
http://maghalat.com (Persian)
"T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
news:O1******** ******@TK2MSFTN GP11.phx.gbl...
>I have an aspx page that is always invoked by Response.Redire ct calls

from
> other pages. I want my aspx page to always display in a new browser
> window.
> Since the Response.Redire ct 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?
> Thanks,
> Tina
>
>



Nov 18 '05 #5
Admitting the mistake in the first statement, thank you, I am still
insisting that you can't make anything more-or-less meaningful in ASP.NET
without good deal of javascripting.

Eliyahu

"GaryB" <gb@nospam.co m> wrote in message
news:O$******** ******@TK2MSFTN GP12.phx.gbl...
That's not true. take an ordinary Hyperlink on any aspx page that links to another aspx page. set it's target property to _blank and the new aspx page will pop up in a new browser window. No client script was involved. I'm
just trying to do the same thing from a respnse.redirec t that we all often
do from hyperlinks.
T

"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message
news:Ov******** ******@TK2MSFTN GP15.phx.gbl...
You can't open a new window from the server. It's a client-side task that
can be accomplished only with a client-side script.

I am just wondering how many successful asp.net sites has the person who
wrote your rules made?

Eliyahu

"T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
news:O$******** ******@TK2MSFTN GP12.phx.gbl...
It's currently a rule here not to use any javascript. as least we use

it
as
a last resort.
T

"Saber" <saber[-.-AT.--]maghalat.com> wrote in message
news:ek******** ******@TK2MSFTN GP15.phx.gbl...
> why not use javascript instead?
>
>
> --
> Saber S.
> http://maghalat.com (Persian)
> "T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
> news:O1******** ******@TK2MSFTN GP11.phx.gbl...
> >I have an aspx page that is always invoked by Response.Redire ct calls from
> > other pages. I want my aspx page to always display in a new browser > > window.
> > Since the Response.Redire ct 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?
> > Thanks,
> > Tina
> >
> >
>
>



Nov 18 '05 #6
a rule not to use javascript - I am very curious as to why ... and who made
the tech choice to go with .NET? obviously they had a great handle on the
workings of the framework ...
"T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
news:O$******** ******@TK2MSFTN GP12.phx.gbl...
It's currently a rule here not to use any javascript. as least we use it
as
a last resort.
T

"Saber" <saber[-.-AT.--]maghalat.com> wrote in message
news:ek******** ******@TK2MSFTN GP15.phx.gbl...
why not use javascript instead?
--
Saber S.
http://maghalat.com (Persian)
"T. Seaburn" <ti**********@r emovespamexcite .com> wrote in message
news:O1******** ******@TK2MSFTN GP11.phx.gbl...
>I have an aspx page that is always invoked by Response.Redire ct calls from > other pages. I want my aspx page to always display in a new browser
> window.
> Since the Response.Redire ct 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?
> Thanks,
> Tina
>
>



Nov 18 '05 #7

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

Similar topics

2
315
by: Hazzard | last post by:
I am trying to figure out how to add an additional value to a querystring collection so that when I click on a datagrid cell, there will be a key to distinguish it from another column's functionality. I have Edit and Delete columns that each contain the ColumnID for the record I want to either edit, or delete. When I pull the item of the collection on the target page's page_load event, I will be able to either invoke a delete or an edit...
3
1581
by: sck10 | last post by:
Hello, I am dynamically building the following querystring: http://cost/content_ncb.aspx?qv01=101. How do I add Target=_blank? I have tried http://cost/content_ncb.aspx?qv01=101,Target=_blank and http://cost/content_ncb.aspx?qv01=101&Target=_blank to no avail. I get the error: Syntax error converting the varchar value '101,target=_blank' to a column of data type int.
15
1950
by: dee | last post by:
Hi, I'm curious why MS decided to have Transfer hide the target page's url invisible? Any guesses ? Thanks. Dee.
5
3992
by: Jon via DotNetMonster.com | last post by:
<siteMapNode title="share price" description="Link to Netcall on the London Stock Exchange" url="http://www.yahoo.co.uk" role="" target="_blank" /> Hi all I'm trying to open the Yahoo web site in a new window using the above code in my asp.net web.sitemap. I'm expecting the target="_blank" bit to make it do this. but it isnt. Does anyone know why?? Thanks in advance.
0
1422
by: David Adams | last post by:
Hi, I have an aspx page that has a series of radio buttons that are autopostback. When a selection is made, the form posts back and displays specific input fields for the radio button selected. After the input fields have been filled out, a button is clicked that changes the target of the form to "_blank" and posts back - opening a new page where the input fields are used to create a pdf document. The problem is getting the target of...
4
11962
by: nesr235 | last post by:
I can't beleive that Microsoft would create the whole Sitemap XML datasource process but not have a TARGET tag. What am I missing? The only place I saw the target tag was at the treeview level. Please tell me that something this basic is at the siteMapNode level and not the Treeview level? Does anyone have a work around for this Design Flaw?
3
1933
by: Shailesh Patel | last post by:
Hi, In old ASP days where one used to use html frame and clicking link in one frame calls that url page and displays in another frame. Same thing, how can I do in aspx pages while using master pages? I mean, e.g. master page has two contentpalaceholder. On one page I have link to open some page(htm or aspx) and the target to that link is second contentplaceholder. Thank you in advance.
2
1653
by: Miaaa Mukherjee | last post by:
Hello frdz, I have created ASP.Net website in which i have created the main page with the topmenu(which is of images),the middle menu(which is of different links like Home,Contact us,Feedback),the left menu(which contains the links to different menus). My problem is that everytime i click on the link it open the page on to the different new window.I want to open the page on the same window with that main page created. ...
1
1825
by: Matt Winward | last post by:
Hi all. I've got a little problem with my gridview paging and I'm not sure how to resolve it. Basically, I'm handling all aspx requests with my own httphandler. This does a url rewrite, so the url you see is not the page that is actually returned. To add to the complexity, I have a module which does a similar url rewrite at a higher level.
0
9605
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
10651
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...
1
10403
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,...
0
9208
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
6893
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
5555
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
5693
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4341
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
2
3868
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.