0
我GOOGLE了这一点,但没有找到问题的工作解决方案。登录后,我必须在全屏模式下打开页面,如在Mozilla和Chrome中的F11模式。全屏幕浏览器页面加载在asp.net
我GOOGLE了这一点,但没有找到问题的工作解决方案。登录后,我必须在全屏模式下打开页面,如在Mozilla和Chrome中的F11模式。全屏幕浏览器页面加载在asp.net
如果我没有错,你不能做在asp.net全屏浏览器,你可以这样做alternativiley
<asp:Button id="btnClick" runat="server" OnClientClick="window.open('yourUrl','', 'fullscreen=yes, scrollbars=auto');"/>
如果你想使用JavaScript来实现这个尝试后,用户添加此代码登录:
string script = "<script language=’JavaScript’> window.name = ‘windowname’;open(”, ‘windowname’); window.close();window.open(‘home.aspx’, ”, ‘fullscreen=yes,status=yes,scrollbars=yes,titlebar=no,addressbar=no’);</script>";
ScriptManager.RegisterStartupScript(this.Page, Page.GetType(), “PopupScript”, script, false);