Get count of Checked child Item at Parent Level in Treelist

2 posts, 0 answers
  1. Prashant
    Prashant avatar
    4 posts
    Member since:
    Jul 2015

    Posted 27 Aug 2015 Link to this post

    i am using treelist and treeview both.
    and i am having checkbox inside it.
    i am fetching checked items from database and binding it to treelist or treeview.

    it is binding correctly but not able to display the count at parent level
    i want to display the count of checked item count at parent level in treelist

    Plz help me.

  2. Viktor Tachev
    Viktor Tachev avatar
    2161 posts

    Posted 31 Aug 2015 Link to this post


    If you would like to display the checked child items in a template field you can use the following approach. Handle the ItemDataBound event for the RadTreeList. In the handler you can iterate through the child items and see where the field bound to a CheckBox is checked. After you have the result you can display it in the template field.

    Viktor Tachev
    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