2014-04-16 84 views
0

我想打開瀏覽器窗口並定義窗口大小。 我試圖做到這一點,但它不工作。在asp.net中打開一個新的瀏覽器窗口throgh服務器端

Response.Write("<script>window.open('" + "Messeage.aspx" + "' , width=300px ,height=300px);</script>"); 
+0

也許瀏覽器的彈出窗口阻止程序阻止它。 – ZippyV

+0

有什麼問題:Response.Write(「」); –

回答

0

它應該是:

Response.Write("<script>window.open('" + "Messeage.aspx" + "' , 'width=300' ,'height=300');</script>"); 
相關問題