怎么弹出一个新的页面 http://www.dotnetjohn.com/articles/articleid88.aspx 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 试一下Response.RedirectLocation = "_blank";Response.Redirect("WebForm2.aspx",false); Response.Redirect不可能达到这个效果!只有用Response.write("<script language='javascript'>window.open('webform2.aspx');</script>") 呵呵,好像还是不行。你为什么不用js呢?window.open很好用的阿 Response.Redirect("WebForm2.aspx");怎么可能不行呢?服务端的,客户端用window.open('dfs.aspx'); 同意smoothwood(I try my best) 赞成 smoothwood(I try my best) Response.write("<script language='javascript'>window.open('webform2.aspx');</script>")ok了lansluo(最后一个女巫) Response.RedirectLocation = "_blank";Response没有RedirectLocation这个函数。 string str1="xxxxx.aspx?cs="+TextBox1.Textstring str2="'left=0,top=0,resizable=yes,status=yes,scrollbars=yes,toolbar=yes,memubar=yes,location=yes,titlebar=yes'"; string openstr="window.open('"+str1+"','_blank',"+str2+")"; Page.RegisterStartupScript("","<script language=jscript>"+openstr+"</script>"); 弹出新页面是如smoothwood(I try my best),同一页打开一个页面是Response.Redirect("WebForm2.aspx"); 求助,谁能解释一下这玩意儿是怎么来的 支付宝一次支持几种商品交易? 请教一个网站后台框架问题 如何获取DataGrid中某个单元格的内容 请教ASP.NET MVC操作方法的参数值是如何获取的? 高分求,与AD账号整合的问题 快下班了,给大家出个简单点的题目做做 高手请进!急,在线等.... 为何connection自动关闭了???? 小弟菜鸟一个,有几C#个简单的问题请大虾帮忙,由于刚来所以没有积分,多谢帮助 正则表达式:只能输入,数值,可以是正数,负数,小数,0 打开数据库一次完成所有操作
Response.RedirectLocation = "_blank";
Response.Redirect("WebForm2.aspx",false);
Response.write("<script language='javascript'>window.open('webform2.aspx');</script>")
你为什么不用js呢?window.open很好用的阿
怎么可能不行呢?服务端的,客户端用window.open('dfs.aspx');
Response.RedirectLocation = "_blank";Response没有RedirectLocation这个函数。
string
str2="'left=0,top=0,resizable=yes,status=yes,scrollbars=yes,toolbar=yes,memubar=yes,location=yes,titlebar=yes'";
string openstr="window.open('"+str1+"','_blank',"+str2+")";
Page.RegisterStartupScript("","<script language=jscript>"+openstr+"</script>");
Response.Redirect("WebForm2.aspx");