AllowRecursiveSelection and SelectedItems

2 posts, 0 answers
  1. JP
    JP avatar
    120 posts
    Member since:
    Aug 2011

    Posted 14 Apr Link to this post

    Hi,

    I'm using a RadTreeList with data bound using a DataTable in NeedDataSource.

    I set AllowRecursiveSelection to true so that all child nodes are selected too, even if they are not expanded.

    Unfortunately, it doesn't work as expected. If I check SelectedItems on the server, I only get a list containing the currently VISIBLE selected items. The child items are not included. If I expand this selected node, the children are selected as expected and appear in the SelectedItems. If I collapse the node again, they don't appear in SelectedItems anymore.

    Also, the Items property only contains the currently VISIBLE items,  I expected it to contain all items.

    The SelectedIndexes property is always correct, but I don't know how I could use this information to find the according data in the DataTable.

     

    What do I have to do to get SelectedItems to return the invisble selected items too?

    Thanks!

  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 19 Apr Link to this post

    Hello,

    I've already replied in your ticket with ID: 1027929. I suggest that we continue our conversation on the mentioned thread.

    Regards,
    Eyup
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top