1. 在框架页面中 点击左页面中的按钮,在右边页面中弹出页面。

页面间的跳转,打开,关闭小技巧.protected void BtnPickingList_Click(object sender, EventArgs e)
        }

2. 在左页点超连接后跳转到右页面
 <a href="DeskWeb/BaseDOC/TypeSet.aspx" target="mainfram">类别管理</a>

3. 直接跳转
Response.Redirect("MaterialBaseChange.aspx");

4. 弹出对话框
 Page.ClientScript.RegisterStartupScript(this.GetType(), "abc", "<script>showModelessDialog('MaterialBaseChangeSearch.aspx','example05','dialogWidth:500px;dialogHeight:600px;dialogLeft:200px;dialogTop:150px;center:yes;help:yes;resizable:yes;status:yes');</script>");
 
5. 
页面间的跳转,打开,关闭小技巧.Page.ClientScript.RegisterStartupScript(this.GetType(), "abc""<script>window.open('MaterialBaseChangeSearch.aspx','newwindow', 'height="+h+",width="+w+", toolbar=no,scrollbars=yes,menubar=no,resizable=yes,location=no, status=no,left=100,top=80');</script>");
页面间的跳转,打开,关闭小技巧.
6. 
页面间的跳转,打开,关闭小技巧.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "abc""<script>window.open('MaterialBaseChangeSearch.aspx','newwindow', 'height=" + h + ",width=" + w + ", toolbar=no,scrollbars=yes,menubar=no,resizable=yes,location=no, status=no,left=100,top=80');</script>");
页面间的跳转,打开,关闭小技巧.
7.           
页面间的跳转,打开,关闭小技巧. Response.Write("<script>window.open('MaterialBaseChangeSearch.aspx','newwindow', 'height=" + h + ",width=" + w + ", toolbar=no,scrollbars=yes,menubar=no,resizable=yes,location=no, status=no,left=100,top=80');</script>");
页面间的跳转,打开,关闭小技巧.
8.      
页面间的跳转,打开,关闭小技巧. Response.Write("<script>window.open('MaterialBaseChangeSearch.aspx');</script>");
页面间的跳转,打开,关闭小技巧.

相关文章:

  • 2022-01-13
  • 2021-09-05
  • 2021-05-31
  • 2022-02-08
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-27
  • 2022-12-23
  • 2022-01-20
  • 2021-06-01
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
相关资源
相似解决方案