kevinwilson — 2007-09-20T12:36:57-04:00 — #1
Hi, I'm working through 'Build Your Own ASP 2.0 Website' I'm using the Treeview example in the 'Advanced Controls' section of the book. I can get the Treeview to work without a problem, however, by default the Treeview displays in Expanded view when the page loads. I want the TreeView to be collapsed at page load and only show the RootNode with the Plus sign next ti it. How do I do it?
honeymonster — 2007-09-20T14:38:33-04:00 — #2
set the ExpandDepth to the number of levels you want expanded initially.
kevinwilson — 2007-09-21T04:34:03-04:00 — #3
Thanks, it seems so obvious now
mittineague — 2014-09-19T23:14:32-04:00 — #4
This topic is now archived. It is frozen and cannot be changed in any way.