最好的解决办法还是去掉frame滚动条,使用TreeView的滚动条

解决方案 »

  1.   

    但TreeView的滚动条底部有几行不能显示(包括对TreeView使用了width:100%;height:100%)
      

  2.   

    try,add this in your page <script language="javascript">
    function document.body.onload()
    {
    var obj=document.all('TreeView1');
    var ht=window.document.body.offsetHeight-28;
    if(ht<20)ht=20;
    obj.style.height=ht+'px';
    }

    function document.body.onresize()
    {
    var obj=document.all('TreeView1');
    var ht=window.document.body.offsetHeight-28;
    if(ht<20)ht=20;
    obj.style.height=ht+'px';
    }

    </script>
      

  3.   

    谢谢江雨.net,加上去了仍不行
      

  4.   

    首先保证装好你的组件,这个包安装非常方便,只要运行一下即可在VS.NET中使用了:
    http://218.56.11.178:8018/FileDown.aspx?FID=4看看这个例子,对你一定有启发:
    http://218.56.11.178:8018/FileDown.aspx?FID=246这个论坛也使用了树:
    http://218.56.11.178:8018/FileDown.aspx?FID=212论坛的使用演示地址,在这里:
    http://expert.kaer.cn/提供站点:http://soft.kaer.cn       希望大家多支持!
    ftp://soft.kaer.cn   可以直接用IE匿名访问,目前速度没限制。