ASP.NET-框架页面的刷新和跳转
一、框架页的刷新
1.Response.Write( "<script>parent.frames(''mainFrame'').document.location.reload();</script>");
二、框架页的跳转
1.Response.Write( "<script>parent.frames(''mainFrame'').document.location.href(''right.aspx'');</script>");
2.Response.Write( "<script>parent.frames(''mainFrame'').document.location.assign(''right.aspx'');</script>");
三、其他页面跳转
1.Response.Write("<script>window.navigate(''right.aspx'');</script>");
2.Response.Write("<script>self.location=''right.aspx'';</script>");
3.Response.Write("<script>window.navigate(''right.aspx'');</script>");
4.Response.Redirect("main.aspx"); 
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号