Selecting treeview nodes programmatically

2 posts, 0 answers
  1. paul
    paul avatar
    16 posts
    Member since:
    Jul 2008

    Posted 31 Oct 2008 Link to this post


    We're currently trying to use the treeview to display a tree view of a SNMP MIB. We load the hierarchical object from WCF and bind to the treeview successfully. We then load some information from WCF to determine which nodes on the treeview should be checked and which ones should be unchecked.

    I've been reading about the current limitations of not being able to access the object s until they have been generated.

    I've been following the thread about possible improvements to the way we can get access to all treeview nodes programmatically. Is this change likely to make it into the release next week?

    If not, what is the best way to iterating through all nodes at all levels to set their check state.


    Paul Chapman

  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 31 Oct 2008 Link to this post

    Hello paul,

    No - the "limitation" that you are talking about will not be changed for the official release.

    For your scenario an easier solution will be available though. We have now an ItemGenerated event on the RadTreeView which you can use to make the necessary bindings (including the CheckState). This event will be available with the release next week.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top