在使用TreeView控件时,我习惯使用iFrame包含TreeView节点导航到的页面(其它的方式没试过)。 <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%"> <tr> <td rowspan="1" style="width: 15%" valign="top"> <asp:TreeView ID="TreeRegion" runat="server" ShowLines="True"> <SelectedNodeStyle Font-Bold="True" /> </asp:TreeView> </td> <td rowspan="1" style="width: 80%" valign="top"> <iframe name="ClientInfoList" src="ClientInfoList.aspx" frameborder="0" width="100%"></iframe> </td> </tr> </table> 如果ClientInfoList.aspx页面比较大,就会有滚动条出现,很不好看。可以考虑使用iFrame自动适应所包含的页面大小,代码如下: 相关文章: 2021-12-12 2021-07-27 2022-12-23 2021-11-22 2021-12-12 2021-08-26 2021-12-12