Tag: targets

在按钮单击时重定向新选项卡。(Response.Redirect)在asp.net C#中

我试图在按钮单击的新选项卡/窗口中打开一个页面。我试图在谷歌得到这个代码,但它无法正常工作。 任何人都可以帮我吗? protected void btnNewEntry_Click(object sender, EventArgs e) { Response.Redirect(“CMS_1.aspx”); } 当我使用它时,我收到错误说 Microsoft JScript runtime error: ‘aspnetForm’ is undefined.