------解决方案--------------------
输出脚本
C# code
string js = "";
ClientScript.RegisterClientScriptBlock(this.GetType(), "myJS", js);
------解决方案--------------------
JScript code
window.parent.location.href='';
------解决方案--------------------
response.write("");
Javascript刷新页面的几种方法:
1 history.go(0)
2 window.location.reload()
window.location.reload(true)
3 location=location
4 location.assign(location)
5 document.execCommand(''Refresh'')
6 window.navigate(location)
7 location.replace(location)
8 document.URL=location.href
Frame框架:
frame.html:
七种语句:
语句1. window.parent.frames[1].location.reload();
语句2. window.parent.frames.bottom.location.reload();
语句3