index.htm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<frameset rows="140,1*" frameborder="no" framespacing="0">
	<frame id="topframe" name="topframe" src="Top.aspx" name="top" scrolling="NO" noresize marginwidth="0" marginheight="0">
	<frameset cols="200,1*" >
		<frame id="treeframe" name="treeframe" src="Tree.aspx" name="nav" scrolling="NO" marginwidth="0" marginheight="0">
		<frame id="bodyframe" name="bodyframe" src="Default.aspx" >
	</frameset>
	<<frame >
</frameset>
</html>

我想在Default.aspx中的后台C#代码中能刷新treeframe这个iframe
可以执行如下代码:
Page.ClientScript.RegisterStartupScript(this.GetType(), "treeadd""window.parent.parent.treeframe.location.reload();"true);
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-09-08
  • 2021-12-03
猜你喜欢
  • 2021-05-17
  • 2022-12-23
  • 2021-12-26
  • 2022-03-01
  • 2021-05-11
  • 2021-05-29
  • 2021-12-26
相关资源
相似解决方案