System.Random Rd = new Random(); string ScriptKey = "Script" + Rd.Next(999999).ToString(); Page.RegisterStartupScript(ScriptKey,"<script>parent.window.frames['contents'].location=parent.window.frames['contents'].location;</script>");
'contents'为另一个框架的id |