RadTreeView disappears after node click

4 posts, 0 answers
  1. Max
    Max avatar
    1 posts
    Member since:
    Jul 2012

    Posted 18 Jul 2012 Link to this post

    hI, i have a radtreeview which is populated in codebehind, with a list of objects. Thre treeview is inside a split panel. Sometimes i need to open a radwindow popup that opens another url, from a menu that lies in the same page in which the treeview is. The popup opens, i do something in that window (a different url) that causes postbacks in the popup, but not in the main page. It depends on how many postbacks i make in the popup, if i close the popup, and then click on a node in the radtreeview,  SOMETIMES it disappears. If i open the popup and make LESS postbacks, all works great. I've tried to bind the treeview into the markup, with an ObjectDataSource, and the strange behavior stops, except for a thing: now the treeview does not disappear, but collapses!

    Any ideas?
  2. Plamen
    Plamen avatar
    2725 posts

    Posted 23 Jul 2012 Link to this post


    Since when you bind RadTreeView into the markup it is not disappearing it seems that the unusual behavior is caused by some custom logic in the code behind binding. A change in the DataSource data may cause disappearing as well. You can refer to this on-line demo where is explained how to do the programmatic data binding.

    As for the expanded state you can use the following code in order to assure it:

            <telerik:RadTreeNodeBinding Expanded="true" />

    Hope this will be helpful.
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Telerik UI for ASP.NET Core is out
  4. jlj30
    jlj30 avatar
    101 posts
    Member since:
    Jan 2011

    Posted 28 Jul 2015 in reply to Max Link to this post

    Hi Max,

     I realize this is a few years old, but I'm experiencing almost the same issue.

    My magic number is 4 - iopen the popup, perform a web service call, close the popup 4 times.

    I get errors since the TreeView now appears empty.

    Can I ask how you finally resolved this?

    Thanks in advance.


  5. Plamen
    Plamen avatar
    2725 posts

    Posted 30 Jul 2015 Link to this post

    Hi Jim,

    We are not aware of such known issue with RadTreeView so would you please elaborate a little bit how to replicate it or if it can be observed on any of our online demos.

    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 Feedback Portal and vote to affect the priority of the items
Back to Top