asp.net从一个页面的单击按钮事件控制另一个页面的刷新

分步说(比如你的三个页面分别为main.aspx; left.aspx;right.aspx,且点击left.aspx页面的button,则right.aspx刷新): 
1. 在父页面main.aspx(也就是有两个iframe的页面)的html head里面写一段js脚本
 function refreshRight()  
  {      
 rightIframe.window.location.reload(); //这里rightIframe是你放right.aspx这个页面的iframe  
 } 
View Code
2. 在你的left.aspx的那个响应事件的button的Button_Click事件里添加如下c#代码: 
string parentJs=@"<script>parent.refreshRight();</script>";
   ClientScript.RegisterStartupScript(this.GetType(), "clientScript", parentJs); 
View Code
就可以了
原文地址:https://www.cnblogs.com/donchen/p/3948632.html