Try Now
More in this section

Forums / Bugs & Issues / News Archive tree problem

News Archive tree problem

2 posts, 0 answered
  1. Scott Rozman
    Scott Rozman avatar
    93 posts
    10 Oct 2012
    02 Feb 2011
    Link to this post
    I am currently having a problem with the treeview for my news archive. If I set expanded to false, it shows collapsed to all of the Years, but if I click on a year to expand, the filter is reset and the items displayed match that year, but the tree does not stay open to show the Months. It pops open for a split second and then collapses.
    Additionally, if I set expanded to true, it does not collapse when I click on year nodes.

    I am running
    Sitefinity 3.7.2136.240:1
    and I've left the problem on a page you can see.

    Thanks in advance for your help.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    02 Feb 2011
    Link to this post
    Hi Scott,

    When you click on the year, this makes ResponseRedirect. By default your default state of the RadTreeView items is collapsed and this is why when the new page is loaded the RadTreeView is still collapsed.
    You can use the client side/server side API of the RadTreeView and add an argument for the selected parent item and expand it on page load.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered