2013-02-27 108 views
0

嗨我有这个代码,以便下一页将打开在IE上的新标签,但是我想设置新标签页的大小并禁用一些项目。我该怎么做呢?设置窗口大小asp vb javascript

If e.CommandName = "View" Then 
     Session("VisitorReport") = hdnSelectedTab.Value 
     Session("VisitID") = e.CommandArgument 
     ClientScript.RegisterStartupScript(Page.GetType(), "NewTab", "window.open('ViewVisitor.aspx');", True) 
    End If 

回答

0
ClientScript.RegisterStartupScript(Page.GetType(), "NewTab", "window.open('ViewVisitor.aspx','','toolbar=yes,location=no,width=1050,height=750');", True)