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

Problem while binding treeview

1 Answer 22 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Gajanan
Top achievements
Rank 2
Gajanan asked on 20 Oct 2010, 03:02 PM
hi all , in my application i am using Radtreeview but while binding i am getting the following error

"This constraint cannot be enabled as not all values have corresponding parent values"
and my tree view structure is like this
+Parenntname
----ChildName
----Childname
+Parenntname
----ChildName

my query will rerun following tabular data

parentID     Parentname                               ChildID        ChildName

271 BharatForge-1 1700 SO-2-81314-1601

274 KumarPlaza 1900 SO-7-91112-1801

276 JOG Classes 2000 SO-24-91112-1901

276 JOG Classes 2100 SO-24-91112-2001

276 JOG Classes 2200 SO-24-91112-2101

276 JOG Classes 2300 SO-24-91112-2201

276 JOG Classes 2400 SO-24-91112-2301

277 JOG rare
2500 SO-24-91112-2401

277 JOG rare
2600 SO-24-91112-2501

plz tell the solution

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 22 Oct 2010, 12:22 PM
Hello Gajanan ,

Please check this help article about hierarchical databinding - note that ParentID is set to the ID of the parent node.

Best regards,
Yana
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
Gajanan
Top achievements
Rank 2
Answers by
Yana
Telerik team
Share this question
or