Maintaining treeview expand collapse status per node?

Discussion in 'ASP .Net' started by Edwin Knoppert, Nov 8, 2005.

  1. 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.
    ?
    Edwin Knoppert, Nov 8, 2005
    #1
    1. Advertising

  2. 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" <> schreef in bericht
    news:43706a62$0$2343$...
    > 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.
    > ?
    >
    Edwin Knoppert, Nov 9, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tor Inge Rislaa
    Replies:
    0
    Views:
    846
    Tor Inge Rislaa
    Feb 5, 2007
  2. Homer J. Simpson
    Replies:
    0
    Views:
    504
    Homer J. Simpson
    Sep 5, 2007
  3. Manoj
    Replies:
    0
    Views:
    547
    Manoj
    Nov 4, 2008
  4. M.L.
    Replies:
    9
    Views:
    293
  5. Anirudha24.d

    Treeview node expand/collapse causing IE crash

    Anirudha24.d, Nov 21, 2012, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    1,195
    Anirudha24.d
    Nov 21, 2012
Loading...

Share This Page