Automatically Sizing an ASP.NET Treeview Control

Posted by Robert Harvey on Stack Overflow See other posts from Stack Overflow or by Robert Harvey
Published on 2009-09-28T16:35:02Z Indexed on 2010/04/09 12:03 UTC
Read the original article Hit count: 407

Filed under:
|
|

Is there a way to automatically resize a TreeView control so that when it is rendered (or re-rendered, if a node is expanded), the TreeView automatically resizes itself to match the overall height of the tree?

The purpose of this is to eliminate the scroll bar that accompanies the TreeView, so that the treeview blends seamlessly into the background.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#