471,354 Members | 2,237 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Maintaining treeview expand collapse status per node?

I'm using a simple treeview for helpsystem.
The treeview is on a masterpage, right beside it it has the container.
The user uses the treeview to navigate to helppages using this masterpage.
But on each page load the treeview nodes are collapsed to original state.

1) I want to maintain the nodes expanded state.
2) I would like to select the node when the node is clicked which results in
a page reload.
This should re-select the node with a dotted line or being bold or so.

I can do #2 but maybe there is a quick solution to this all.
?
Nov 19 '05 #1
1 2234
I did this the hard way by enumming all nodes and store the 'boolean's' in
one session var.

Still wonder if there isn't a better approach though.

"Edwin Knoppert" <ne**@hellobasic.com> schreef in bericht
news:43**********************@text.nova.planet.nl. ..
I'm using a simple treeview for helpsystem.
The treeview is on a masterpage, right beside it it has the container.
The user uses the treeview to navigate to helppages using this masterpage.
But on each page load the treeview nodes are collapsed to original state.

1) I want to maintain the nodes expanded state.
2) I would like to select the node when the node is clicked which results
in
a page reload.
This should re-select the node with a dotted line or being bold or so.

I can do #2 but maybe there is a quick solution to this all.
?

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Gönen EREN | last post: by
2 posts views Thread by Stephen | last post: by
3 posts views Thread by Shawn | last post: by
9 posts views Thread by Martin Randall | last post: by
reply views Thread by Tor Inge Rislaa | last post: by
1 post views Thread by =?Utf-8?B?U3dvb3No?= | last post: by
5 posts views Thread by Max2006 | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.