ASP.NET 2.0 Treeview Control - sizing

  • Thread starter Thread starter K B
  • Start date Start date
K

K B

Hi,

I'm trying to use a new 2.0 treeview control. Got everything working
(finally) but I can't figure out how to fix the size (length) and have
the contents scroll. The control just keeps growing with the content.

Any help appreciated.

TIA,
Kit
 
You have to place the treeview inside of a <div> with a set width and height
and with overflow:auto. For example
<div style="width:128px;height:256px;overflow:auto">
<asp:TreeView runat=... </div>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top