如何使html页面不可调整?

时间:2016-05-11 13:10:15

标签: c# html asp.net

我想打开一个网页,让它无法访问。我使用了这些c#代码但它仍然可以调整大小。这怎么可能?感谢?

protected void Button1_Click(object sender, System.EventArgs e)
 {
  string url = "Popup.aspx";
  string s = "window.open('" + url + "', 'popup_window', 'width=300,height=100,left=100,top=100,resizable=no');";
  ClientScript.RegisterStartupScript(this.GetType(), "script", s, true);
 }

0 个答案:

没有答案
相关问题