![]() |
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 |
Re: force aspx page in new viewer?
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" <tinamseaburn@removespamexcite.com> wrote in message news:%23FJ5n1RjEHA.1344@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 > > > |
Re: force aspx page in new viewer?
You can't open a new browser window without using client-side scripts.
"T. Seaburn" <tinamseaburn@removespamexcite.com> 秎ン news:%23FJ5n1RjEHA.1344@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 > > > |
Re: force aspx page in new viewer?
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" <leu_lc@yehoo.com.hk> wrote in message news:ODfb%23jjjEHA.2500@TK2MSFTNGP09.phx.gbl... > You can't open a new browser window without using client-side scripts. > > "T. Seaburn" <tinamseaburn@removespamexcite.com> 秎ン > news:%23FJ5n1RjEHA.1344@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 > > > > > > > > |
Re: force aspx page in new viewer?
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> 秎ン news:OjnE6O7jEHA.1404@TK2MSFTNGP09.phx.gbl い 级糶... > 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" <leu_lc@yehoo.com.hk> wrote in message > news:ODfb%23jjjEHA.2500@TK2MSFTNGP09.phx.gbl... > > You can't open a new browser window without using client-side scripts. > > > > "T. Seaburn" <tinamseaburn@removespamexcite.com> 秎ン > > news:%23FJ5n1RjEHA.1344@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 > > > > > > > > > > > > > > > |
Re: force aspx page in new viewer?
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" <leu_lc@yehoo.com.hk> wrote in message news:OJRl7kAkEHA.3944@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> 秎ン news:OjnE6O7jEHA.1404@TK2MSFTNGP09.phx.gbl い > 级糶... > > 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" <leu_lc@yehoo.com.hk> wrote in message > > news:ODfb%23jjjEHA.2500@TK2MSFTNGP09.phx.gbl... > > > You can't open a new browser window without using client-side scripts. > > > > > > "T. Seaburn" <tinamseaburn@removespamexcite.com> 秎ン > > > news:%23FJ5n1RjEHA.1344@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 > > > > > > > > > > > > > > > > > > > > > > > > |
RE: force aspx page in new viewer?
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 > > > > |
| All times are GMT. The time now is 10:47 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.