如何不允许用户调整页面大小(在Web C#中)? [英] how I do not allow the user to the resize page( in web c#)?
本文介绍了如何不允许用户调整页面大小(在Web C#中)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何不允许用户调整页面大小(在Web C#中)? (通过鼠标)
和
如何不允许用户使用最大页面数(在Web C#中)?(最大工具数)
和
我如何不允许用户使用最小页面(在Web c#中)?(最小工具)
how I do not allow the user to the resize page( in web c#)? (by mouse)
and
how I do not allow the user to the maximum page( in web c#)?(tools maximum )
and
how I do not allow the user to the minimum page( in web c#)?(tools minimum )
推荐答案
尝试此操作..
通过下面的javascript cod elike打开页面..
try by this..
open the page through the javascript cod elike below..
window.open('page1.aspx', 'test Page', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=150, height=200, top=100, left=100');
希望对您有所帮助.
hope it helps..
谢谢...
很好
是否有效:
thanks...
It was very good
Whether it works:
string set = @"<script language='javascript'>window.open('ShowMaster.aspx', 'test Page', 'toolbar=no,location=no,directories=no, status=no, menubar=no, scrollbars=no,resizable=no, copyhistory=no, width=150,height=200, top=100, left=100');</script>";
Response.Write(set);
这篇关于如何不允许用户调整页面大小(在Web C#中)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文