C# 打开新的一页?
在我的web应用程序中,当我单击我想打开一个新页面时,我有一个按钮,该页面的宽度应为220,高度应为300,请帮助我,谢谢。这将帮助您使用javascript实现这一点C# 打开新的一页?,c#,asp.net,C#,Asp.net,在我的web应用程序中,当我单击我想打开一个新页面时,我有一个按钮,该页面的宽度应为220,高度应为300,请帮助我,谢谢。这将帮助您使用javascript实现这一点 这将帮助您使用javascript实现这一点 使用 创建新的辅助浏览器窗口 并加载引用的资源 使用 创建新的辅助浏览器窗口 并加载引用的资源 差不多 onclick="window.open('default.aspx','','height=300,width:220,scrollbars=yes,resizable=y
这将帮助您使用javascript实现这一点 使用 创建新的辅助浏览器窗口 并加载引用的资源 使用 创建新的辅助浏览器窗口 并加载引用的资源 差不多
onclick="window.open('default.aspx','','height=300,width:220,scrollbars=yes,resizable=yes,top=0,left=0,status=yes');"
差不多
onclick="window.open('default.aspx','','height=300,width:220,scrollbars=yes,resizable=yes,top=0,left=0,status=yes');"
像这样的东西应该适合你
window.open(window.location.protocol + "//" + window.location.host + "/" + "standard asp.net relative URL including parameters", "_blank", "width=220, height=300, scrollbars=yes, resizable=yes, menubar=yes, location=no");
像这样的东西应该适合你
window.open(window.location.protocol + "//" + window.location.host + "/" + "standard asp.net relative URL including parameters", "_blank", "width=220, height=300, scrollbars=yes, resizable=yes, menubar=yes, location=no");