Raddropdowntree selectedIndex property on serverside.

2 posts, 0 answers
  1. Sandeep
    Sandeep avatar
    13 posts
    Member since:
    Jan 2016

    Posted 15 Mar 2016 Link to this post

    1. SelectedIndex property not available in raddropdowntree
    2. Can not loop on all items in raddropdowntree
    3. Not able to set node as selected by selectedindex
    4. Is any alternative solutions for above problems
  2. Nencho
    Nencho avatar
    1646 posts

    Posted 17 Mar 2016 Link to this post

    Hello Sandeep,

    The DropDownTree controls contains an Embedded TreeView control, which you need to use, in order to access the Nodes (loop all items) and use it to set certain node from the NodesCollection as selected.

    In addition, in order to apply this selection to the DropDownTree, you need to call the SyncEmbeddedTree() method on the DropDownTree.

    In the attachment you can find a sample example, demonstrating the above suggested approach.

    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top