Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > force aspx page in new viewer?

Reply
Thread Tools

force aspx page in new viewer?

 
 
T. Seaburn
Guest
Posts: n/a
 
      08-28-2004
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



 
Reply With Quote
 
 
 
 
Alvin Bruney [MVP]
Guest
Posts: n/a
 
      08-28-2004
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" <> wrote in message
news:%...
>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
>
>
>



 
Reply With Quote
 
 
 
 
Lau Lei Cheong
Guest
Posts: n/a
 
      08-30-2004
You can't open a new browser window without using client-side scripts.

"T. Seaburn" <> 秎ン
news:% い级糶...
> 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
>
>
>



 
Reply With Quote
 
GaryB
Guest
Posts: n/a
 
      08-31-2004
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" <> wrote in message
news:ODfb%...
> You can't open a new browser window without using client-side scripts.
>
> "T. Seaburn" <> 秎ン
> news:% い级糶...
> > 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
> >
> >
> >

>
>



 
Reply With Quote
 
Lau Lei Cheong
Guest
Posts: n/a
 
      09-01-2004
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" <> 秎ン news: い
级糶...
> 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" <> wrote in message
> news:ODfb%...
> > You can't open a new browser window without using client-side scripts.
> >
> > "T. Seaburn" <> 秎ン
> > news:% い级糶...
> > > 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
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
GaryB
Guest
Posts: n/a
 
      09-01-2004
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" <> wrote in message
news:...
> 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" <> 秎ン news:


> 级糶...
> > 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" <> wrote in message
> > news:ODfb%...
> > > You can't open a new browser window without using client-side scripts.
> > >
> > > "T. Seaburn" <> 秎ン
> > > news:% い级糶...
> > > > 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
> > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
=?Utf-8?B?d2hpZ2dpbnM=?=
Guest
Posts: n/a
 
      09-02-2004
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
>
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nike air force one, air force 1, air force one low cut, air force one salewholeta@163.com Digital Photography 3 12-31-2008 04:29 PM
Nike Air Force Ones,Air Force One Air Force One-1 lky52193@gmail.com Computer Support 0 01-17-2008 04:40 PM
Nike Air Force Ones,Air Force One Air Force One-1,25th anniversary lky52112@gmail.com Digital Photography 0 01-15-2008 04:46 PM
Nike Air Force Ones,Air Force One Air Force One-1,25th anniversary lky52112@gmail.com Digital Photography 0 01-15-2008 04:34 PM
adding main.aspx.vb & main.aspx.resx under aspx John M ASP .Net 1 05-29-2005 09:27 PM



Advertisments