Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Response.Redirect("005-PrintDeliveryNoteForm.aspx?Name=" + this.txtId.Text + "&LastName=" + this.Label2.Text);


What I have tried:

i try to open this form in new tab
Posted
Updated 7-May-17 23:53pm

1 solution

You can't open new tabs from server code, the link that goes to your page needs to have target=_blank on it

<a href="yourpage.aspx" target="_blank">Click</a>


Google "response.redirect new tab" and you'll find various solutions depending on how your page is accessed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900