如何在新标签页中打开此链接 [英] How to open this link in new tab
本文介绍了如何在新标签页中打开此链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Response.Redirect("005-PrintDeliveryNoteForm.aspx?Name=" + this.txtId.Text + "&LastName=" + this.Label2.Text);
我的尝试:
i尝试在新选项卡中打开此表单
What I have tried:
i try to open this form in new tab
推荐答案
您无法从服务器代码打开新选项卡,转到您页面的链接需要上面有target = _blank
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>
Googleresponse.redirect new tab,您可以根据页面的访问方式找到各种解决方案。
Google "response.redirect new tab" and you'll find various solutions depending on how your page is accessed.
这篇关于如何在新标签页中打开此链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文