I am trying to get my treeview to databind using the settings below. I keep getting the error listed below.
"A critical error has occurred.
This constraint cannot be enabled as not all values have corresponding parent values."
If I remove DataFieldParentID the treeview does bind and shows a list. I tried using 0 and NULL for my parents. Any suggestions?
List I get if I remove the parentID:
RadTreeView1.DataSource = tree.Treeview
rID ParentID Text url
1 0 Management NULL
2 0 General NULL
3 2 Detail Orders ~/Test.aspx
4 1 Test ~/Test.aspx