ASP.NET 2.0 Treeview Control - sizing

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
 
G

Guest

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

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top