请问一下大哥,我点Left.aspx页面的树形是时候,为什么不切换Rigth.aspx页面呢?而总是切换Left.aspx本页面,各位帮帮忙
<html>
<frameset rows="93,*" cols="*" frameborder="no" framespacing="0" border="0"   >
 <frame src="top.aspx"   frameborder="0"  width="100%" style="width:100%" marginheight="0"  marginwidth="0" name="topname" scrolling="no" noresize="noresize" /><frameset cols="20%, *" >
<frameset rows="150,*" cols="*"   frameborder="no" >
    <frame src="LeftHom.aspx" name="leftHom" marginheight="0"  marginwidth="0" scrolling="no" noresize="noresize" />
    <frame src="Left.aspx"   name="left"  noresize="noresize" marginheight="0"  marginwidth="0"  scrolling="auto"/>
</frameset><frameset rows="28,*" cols="*"  frameborder="no" >
    <frame src="Middle.aspx"  name="middle" scrolling="no" noresize="noresize" marginheight="0"  marginwidth="0" />
   <frame src="Rigth.aspx" name="main" scrolling="yes"  noresize="noresize" marginheight="0"  marginwidth="0" />
</frameset>
</frameset>
</frameset></html>

解决方案 »

  1.   

    TreeNode的Target属性指定你要跳转的frame的name
      

  2.   

    把Target的属性设置为Target=main 即可显示 Rigth.aspx页面
      

  3.   

    Rigth.aspx页面可以显示,我想还另一张页面怎么换
      

  4.   

    各位不好意思我在问个同样的问题哦,接着上前的来的
    这个是Middle.aspx:我点这个页面里面的:重新登录或者其他的时候,怎样把Rigth.aspx切换掉,我点这些的时候它也切换本页面,这个又没有Target属性

    <form id="form1" runat="server">
        <div>
            <table style="width:100%;height:20%;border:0px; background-color:#DEE7FF" >
                    <tr>
                     <td style="width:8%; height: 20px;" >
                         <asp:Image ID="img1" runat="server" ImageUrl="Images/home.gif" />
                         <label onclick="window.location.href='Default.aspx'主页</label>
                    </td>
                    <td style="width:13%; height: 20px;">
                       <asp:Image ID="Image1" runat="server" ImageUrl="Images/index.gif" />
                        <label onclick="window.location.href='Login.aspx'">重新登录</label>
                       </td>
                       <td style="width:12%; height: 20px;">
                <asp:Image ID="Image2" runat="server" ImageUrl="Images/userkey.gif" />
                <label onclick="window.location.href='Default.aspx'">修改密码</label>
              </td>
              <td style="width:19%; height: 20px;">
                <asp:Image ID="Image3" runat="server" ImageUrl="Images/showtoc.gif" />
                <label onclick="window.location.href='Default.aspx'">显示隐藏通知栏</label>
              </td>
              <td style="width:10%; height: 20px;">
                <asp:Image ID="Image4" runat="server" ImageUrl="images/help1.bmp" />
                <label onclick="window.location.href='Default.aspx'" >帮助</label>
              </td>
             </tr>
            </table>
        </div>
        </form>
      

  5.   

    在 button_click事件中写
    <script>parent.window.frames["main"].location.href="Middle.aspx?"</script>