日期:2014-05-19  浏览次数:20438 次

请教,含atlas的网页在框架中执行时会全页刷新的问题
default.aspx:
<%@   Page   Language= "C# "   AutoEventWireup= "true "   CodeFile= "Default.aspx.cs "   Inherits= "_Default "   %>

<!DOCTYPE   html   PUBLIC   "-//W3C//DTD   XHTML   1.0   Frameset//EN "   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd ">
<html   xmlns= "http://www.w3.org/1999/xhtml ">
<head>
    <title </title>
</head>
<frameset   style= "margin-left:0;   margin-top:0 "   rows= "* "   cols= "50,* "   framespacing= "1 "   frameborder= "1 "   border= "1 "   framespacing= "0 "   bordercolor= "#00CCFF "   id= "allMain ">
        <frame   style= "border:0;   margin-left:0;   margin-top:0 "   frameborder= "0 "   src= "test2.aspx "   name= "fraLeftFrame "   scrolling= "no "   noresize= "noresize "   id= "fraLeftFrame "   />
        <frame   style= "border:0 "   src= "main.aspx "   name= "fraRightFrame "   noresize= "noresize "   id= "fraRightFrame "   frameborder= "no "   />            
</frameset>
<noframes> <body>

</body>
</noframes>

</html>

main.aspx:
一个空网页

test2.aspx:
<%@   Page   Language= "C# "   AutoEventWireup= "true "   CodeFile= "test2.aspx.cs "   Inherits= "test2 "   %>

<!DOCTYPE   html   PUBLIC   "-//W3C//DTD   XHTML   1.0   Transitional//EN "   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">

<html   xmlns= "http://www.w3.org/1999/xhtml "   >
<head   runat= "server ">
        <title> </title>
</head>
<body>
        <form   id= "form1 "   runat= "server ">
        <div>
            <table>
                <tr>                        
                    <td   style= "height:   88px ">
                        <asp:HyperLink   ID= "tl "   Text= "tset "   Target= "fraRightFrame "   NavigateUrl= "~/test3.aspx "   runat= "server "   Width= "251px "   > [tl] </asp:HyperLink>
                    </td>
                </tr>
            </table>
        </div>
        </form>
</body>
</html>

test3.aspx:
<%@   Page