Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人都可以建议我们如何使用 C# 中的 Response.Redirect 在新窗口或新浏览器中打开页面。我用过: Response.Redirect("page1a.aspx");
但它在现有选项卡中打开。
如果是的话,你能用javascript吗,那么请试试这个
Response.Write("<script>"); Response.Write("window.open('ClickPicture.aspx','_blank')"); Response.Write("</script>");