区域书会把所有区域显示出来,但是因为区域太多,显示多了下面的看不到,右边又没有显示下拉条 很纠结
已经试过在TreeView 里面固定高度,没有用 依然没有下拉条  而且显示的树会出现在固定区域以外  以下是代码部分:
<body style="background:url(../images/rz_bg.jpg); text-align:left;">
    <form  sid="form1" runat="server" style="width:0px; height:0px; overflow:visible;">
    <div  class="right main" style="width:0px; height:0px; overflow:visible;">    
    <div class="rz_md2 main" align="center"style="width:0px; height:0px; overflow:visible;">
    <div class="rz_md5" align="center">
    <table border="0" cellpadding="0" cellspacing="1" bgcolor="#444866" 
            style="height: 300px; width: 500px">  
         <tr>
             <td align="center" valign="middle" bgcolor="#4a5369" class="STYLE5">区域选择</td>
             <td  align="left" valign="middle" bgcolor="#F4F7FC"  class="STYLE1">  
                 <asp:UpdatePanel ID="udpl_area1" runat="server">
                     <ContentTemplate>
                     <asp:ScriptManager 
                    ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <div>
                     <asp:TreeView ID="trvw_area" runat="server" 
                    ShowCheckBoxes="All" 
                     ontreenodecheckchanged="trvw_area_TreeNodeCheckChanged" ShowLines="false">
                </asp:TreeView> 
                </div>
                     </ContentTemplate>              
                </asp:UpdatePanel>
                
             </td>
        </tr>   
     </table>
    </div>
    </div>
 </form>
</body>

解决方案 »

  1.   

    iframe 左侧嵌入一个页面 页面上显示treeview 控件
      

  2.   

    <div id="selectItemCount" class="selectItemcont" style="overflow-x:hidden;overflow-y:auto;max-height:500px;" >
                                <div id="selectSub" style="text-align: left;">
                                   //这里放你的TreeView                            </div>
                            </div>我这个是只显示竖向滚动条。当TreeView高度超过500px 时,它就是为显示滚动条,否则不显示。
    你只要注意写对那div 的style属性就行了,我那些class是样,关于滚动条的都写在style里了。你试试吧