Launching .aspx page in new window

  • Thread starter Thread starter Alan Lucas via .NET 247
  • Start date Start date
A

Alan Lucas via .NET 247

I have the sinking feeling that I'm doing something stupid andjust missing something really easy, but...here goes. I've got 2pages created in ASP.NET. The first page has a datagrid with alink button column. The point of the exercise is to launch thesecond aspx (which contains detail data from the first) in a newwindow. Please, put me out of my misery on this...what am Imissing?
 
nothing... you'll have to have some CLIENTSIDE script in there to open a new
window, you can't do this from the server.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


I have the sinking feeling that I'm doing something stupid and just missing
something really easy, but...here goes. I've got 2 pages created in ASP.NET.
The first page has a datagrid with a link button column. The point of the
exercise is to launch the second aspx (which contains detail data from the
first) in a new window. Please, put me out of my misery on this...what am I
missing?
 
use Hyperlink instead of LinkButton.
And set the hyperlink's target property to _blank.

LinkButton is for Serverside events

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
I have the sinking feeling that I'm doing something stupid and just missing
something really easy, but...here goes. I've got 2 pages created in ASP.NET.
The first page has a datagrid with a link button column. The point of the
exercise is to launch the second aspx (which contains detail data from the
first) in a new window. Please, put me out of my misery on this...what am I
missing?
 
Back
Top