javascript,使用c#在asp.net中打开新窗口 [英] javascript with open new window in asp.net using c#
本文介绍了javascript,使用c#在asp.net中打开新窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们如何使用带asp.net的javascript在打开的窗口中删除标题栏的addreessbar和颜色.
我已经准备好在window.open javascript function.plz中使用addressbar = no了.给我另一个解决方案
how we can remove the addreessbar and color of title bar in open window using javascript with asp.net.
i am allready use the addressbar=no in window.open javascript function.plz give me another solution
推荐答案
看这里: ^ ]
您可以在那里查看条件所支持的所有功能.试用.
Look here: MSDN: Window.Open method[^]
You can see all the features supported with conditions there itself. Try out.
Dim url As String = "aaa.aspx?ID=1&cat=" & test
Dim fullURL As String = "window.open('" + url + "', '_blank', 'height=500,width=800,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,titlebar=no' )"
Button1.Attributes.Add("OnClick", fullURL)
这篇关于javascript,使用c#在asp.net中打开新窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文