Hi there
I got a wired issue in binding the Telerik RadTreeView with hierarchial data. The collection is having lets say (Id, ParentId, and Text) properties. When i bind it to the treeview it is not working. The collection looks like this
ID | ParentID | name
-1 -2 "root"
50 -1 "node1"
like wise.. - This is not working as the ParentID is a negative integer.
I also tried with manipulating the Ids so that just the root having the highest positive number and all other can have positive parent
ID | ParentID | name
0 35565 "root"
50 0 "node1"
likewise - In this case, except the root all other child nodes are rendering.
Tell me, in the case of having object collection (which i cannot modify) containing ParentId as negative numbers - how do i bind this to treeview ? It this a bug
I got a wired issue in binding the Telerik RadTreeView with hierarchial data. The collection is having lets say (Id, ParentId, and Text) properties. When i bind it to the treeview it is not working. The collection looks like this
ID | ParentID | name
-1 -2 "root"
50 -1 "node1"
like wise.. - This is not working as the ParentID is a negative integer.
I also tried with manipulating the Ids so that just the root having the highest positive number and all other can have positive parent
ID | ParentID | name
0 35565 "root"
50 0 "node1"
likewise - In this case, except the root all other child nodes are rendering.
Tell me, in the case of having object collection (which i cannot modify) containing ParentId as negative numbers - how do i bind this to treeview ? It this a bug