当前位置: 代码迷 >> ASP.NET >> 在框架页中怎样在子框架中刷新整个框架?解决方法
  详细解决方案

在框架页中怎样在子框架中刷新整个框架?解决方法

热度:6245   发布时间:2013-02-26 00:00:00.0
在框架页中怎样在子框架中刷新整个框架?
这样可以吗?
                                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
  相关解决方案