asp.net 2.0 Treeview problem

Discussion in 'ASP .Net' started by Rick, Feb 12, 2007.

  1. Rick

    Rick Guest

    Hi guys!

    I have a problem with a master page that has a treeview control as menu, i
    have a root node, 5 parents and each parent has 10 leafs, 50 pages in
    total, each page is linked to master page, when i select a node in treeview
    it redirects to N page, its ok, but i want each time i select a page in the
    treeview it expand the tree to current node selected, i can't do it, each
    time i select a node, treeview appears as originally i configured it,
    expanding just 2 levels (root and parents, not leafs), how can i configure
    the treeview to each time i select a node it expands to current selected
    node?


    Regards.
    Rick
    Rick, Feb 12, 2007
    #1
    1. Advertising

  2. Rick,

    Give this a try:

    http://blog.binaryocean.com/2006/01/19/SaveTreeViewNodesExpansionCollapseStateCSAndVB.aspx

    -Andy


    "Rick" <> wrote in message
    news:%...
    > Hi guys!
    >
    > I have a problem with a master page that has a treeview control as menu, i
    > have a root node, 5 parents and each parent has 10 leafs, 50 pages in
    > total, each page is linked to master page, when i select a node in
    > treeview it redirects to N page, its ok, but i want each time i select a
    > page in the treeview it expand the tree to current node selected, i can't
    > do it, each time i select a node, treeview appears as originally i
    > configured it, expanding just 2 levels (root and parents, not leafs), how
    > can i configure the treeview to each time i select a node it expands to
    > current selected node?
    >
    >
    > Regards.
    > Rick
    >
    >
    >
    >
    Andrew Robinson, Feb 12, 2007
    #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. =?Utf-8?B?VHltYm93?=
    Replies:
    2
    Views:
    24,394
    =?Utf-8?B?VHltYm93?=
    Jan 10, 2006
  2. abargaddon
    Replies:
    0
    Views:
    1,025
    abargaddon
    Jan 17, 2008
  3. Per Salmi

    TreeView not rendering nodes? Cacheing of a TreeView

    Per Salmi, Oct 15, 2003, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    429
    Steve Drake
    Oct 15, 2003
  4. Ionutz
    Replies:
    2
    Views:
    510
    Ionutz
    Oct 23, 2005
  5. stepkurt

    Microsoft Treeview vs System Treeview

    stepkurt, Aug 29, 2007, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    352
    Teemu Keiski
    Sep 2, 2007
Loading...

Share This Page