在框架页中怎样在子框架中刷新整个框架?
这样可以吗?
if (page.Session[ "UserProfile "] != null)
{
Impact.Entities.userprofile up = (Impact.Entities.userprofile)(page.Session[ "UserProfile "]);
ups = up;
return up;
}
else
{
Response.Write( " <script language= 'javascript '> parent.top.location.href= '/WebUI/LogIn.aspx '; </script> ");
Response.End();
return null;
}
[解决办法]
top.parentFrame.location.href= "*.jsp ";
[解决办法]
parent.location.href