在使用TreeView控件时,我习惯使用iFrame包含TreeView节点导航到的页面(其它的方式没试过)。
iframe自动适应其内src中内容大小<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
iframe自动适应其内src中内容大小                        
<tr>
iframe自动适应其内src中内容大小                            
<td rowspan="1" style="width: 15%" valign="top">
iframe自动适应其内src中内容大小                                
<asp:TreeView ID="TreeRegion" runat="server" ShowLines="True">
iframe自动适应其内src中内容大小                                    
<SelectedNodeStyle Font-Bold="True" />
iframe自动适应其内src中内容大小                                
</asp:TreeView>
iframe自动适应其内src中内容大小                            
</td>
iframe自动适应其内src中内容大小                            
<td rowspan="1" style="width: 80%" valign="top">
iframe自动适应其内src中内容大小                                
<iframe name="ClientInfoList" src="ClientInfoList.aspx" frameborder="0"
iframe自动适应其内src中内容大小                                    width
="100%"></iframe>
iframe自动适应其内src中内容大小                            
</td>
iframe自动适应其内src中内容大小                        
</tr>
iframe自动适应其内src中内容大小                    
</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
猜你喜欢
  • 2021-12-12
  • 2021-12-12
  • 2021-12-12
  • 2021-07-07
  • 2021-12-12
  • 2022-12-23
相关资源
相似解决方案