views:

53

answers:

1

how to open the one page to the in new browser windows in coding?

+1  A: 

you can do this with the help of javascript function window.open

  window.open ("http://www.example.com","yourwindow");  
Adeel
Response.Write("<script type='text/javascript'>detailedresults=window.open('Machineinfo.aspx?MachineID=" + MachineID + "',_ blank');</script>");I tride above but not working
anup
you are missing single colon before _blank. This will work.Response.Write("<script type='text/javascript'>detailedresults=window.open('Machineinfo.aspx?MachineID=" + 1 + "','_blank');</script>");
Adeel