- - 最近一直在CSDN上混 刚转WEB好不习惯 asp.net很早用的 以前用VS自带的模版页 很容易就可以实现 左边如果是树形  点击一个 右边显示相应的页面  那么如果全部使用HTML控件 这个该怎么控制?听人说可以用fildset这个标签 还有其他好办法吗?

解决方案 »

  1.   

    使用 IFRAME 啊,设置下TreeView 的 target 属性,然后一些细节问题而已
      

  2.   


    <!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>
    <frameset rows="145px,*" frameborder="no" border="0" framespacing="0">
      <frame src="Index_top.aspx" name="topFrame" scrolling="no" noresize="noresize"  id="topFrame" title="topFrame" />
      <frameset cols="210px,*" frameborder="no" border="0" framespacing="0">
           <frame src="LeftTreeView.aspx" name="leftFrame" scrolling="no" noresize="noresize"  id="leftFrame" title="leftFrame" />
        <frame src="RightWindow.aspx" scrolling="auto"  noresize="noresize" border="0" name="mainFrame" id="mainFrame" title="mainFrame" />
      </frameset>
    </frameset>
    <noframes><
    <body>
        <form id="form1" runat="server">
        <div>
        
        </div>
        </form>
    </body>
    </html>
      

  3.   

    这个最容易实现,你网上搜下,好多实例的不过要兼容多个浏览器的话,还是用DIV+CSS好一些
      

  4.   

    iframe可以实现<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Wage_Main.aspx.cs" Inherits="Wage_Main" %><!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>
    <frameset rows="100,*" cols="*" framespacing="0" frameborder=10 border="0" bordercolor="#FF0000">
        <frame src="Wage_Main_Top.aspx" name="left" scrolling="no" >
        <frame name="main" scrolling="No" src="Wage_Welcome.aspx" >
        <noframes>
            <body>
                <p>
                    看不到?</p>
            </body>
        </noframes>
    </frameset>
    </html>
    上左右布局的
      

  5.   


    这个标签很早了?我在VS2008SP1版本中没有提示 说此标签无效
      

  6.   


    如果用frameset实现 我要实现 top是一整行 下面分成2列 左边和右边该如何实现 这个标签运用不熟