方法一.在服务器端输出JavaScript脚本。
string Js=@"<Script language='JavaScript'>
window.open('"+URL+@"')
</script>";
HttpContext.Current.Response.Write(Js);
方法二.
function LinkUrl(url) { parent.window.location.href=url; }
string strUrl="WorkflowInformation.aspx?WorkflowID="+ newWorkflowID.ToString()+"&MatterID="+newMatterID.ToString();
Page.RegisterStartupScript("","<script language=javascript>LinkUrl('"+strUrl+"')</script>");