开启新网页 [英] Open a new web page
本文介绍了开启新网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我必须从文件夹用户打开一个新的Web表单:
Hi all
I have to open a new web form from a folder user:
Response.Redirect("~/User/Vender.aspx");
但是它不起作用.
but it does not works.
推荐答案
Response.Redirect将在同一窗口中打开定向页面.如果要打开新表单,则需要使用JavaScript并使用 Window.Open [ ^ ]方法将其打开.
Response.Redirect will open the directed page in the same window. If you want to open a new form then you need to use JavaScript and use Window.Open[^] method to open it.
<a href="~/User/Vender.aspx" target="_blank" >Link Name </a>
这篇关于开启新网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文