This is a migrated thread and some comments may be shown as answers.

Get count of Checked child Item at Parent Level in Treelist

1 Answer 83 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Prashant
Top achievements
Rank 1
Prashant asked on 27 Aug 2015, 07:23 AM

hiii,
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.

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 31 Aug 2015, 02:22 PM
Hello,

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.

Regards,
Viktor Tachev
Telerik
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
Tags
TreeList
Asked by
Prashant
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or