Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Loading new window


Message #1 by comching@y... on Tue, 10 Dec 2002 03:57:04
Hi All,

I would like to know if there's a way i can use to load a new .aspx form 
into a new window.  Instead of response.redirect(url) OR server.transfer
(url), i would like to load the form into a new popup window.  I only know 
how to do it in the datagrid, cos there's the "target" property which i 
can set to "_blank", but not for the above 2 functions i had mentioned.

Appreciate yr kind attention & response...

cheers... Doris
Message #2 by "Ken Schaefer" <ken@a...> on Tue, 10 Dec 2002 17:16:31 +1100
You can not load a new window using server-side script (such as
Server.Transfer()), or using HTTP (Response.Redirect()) - you need to use
client-side script, either javascript's window.open(), or target=_blank

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <comching@y...>
Subject: [aspx_beginners] Loading new window


: Hi All,
:
: I would like to know if there's a way i can use to load a new .aspx form
: into a new window.  Instead of response.redirect(url) OR server.transfer
: (url), i would like to load the form into a new popup window.  I only know
: how to do it in the datagrid, cos there's the "target" property which i
: can set to "_blank", but not for the above 2 functions i had mentioned.
:
: Appreciate yr kind attention & response...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Return to Index