当前位置: 代码迷 >> ASP.NET >> 重定向时怎么在空白页打开
  详细解决方案

重定向时怎么在空白页打开

热度:436   发布时间:2013-02-26 00:00:00.0
重定向时如何在空白页打开?
如题,在控件LinkButtond的click事件中使用Response.Redirect( "*.aspx ")时是在当前窗口打开这个页面,如何在重定向是使用空白页打开呢?在LinkButton属性中找不到Target属性呀!

------解决方案--------------------------------------------------------
用JS
Response.Redirect( " <script language= 'javascript '> window.open( '*.aspx '); </script> ");
  相关解决方案