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

RadTreeView: Parent Columns and Child Columns don't have type-matching columns.

1 Answer 298 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 29 Oct 2012, 04:10 PM
What does the message actually mean?  The DataFieldID has unique values from the data table. There are no column names the same.
Seems like no matter what fields I try to set I receive "Parent Columns and Child Columns don't have type-matching columns." Or "These columns don't currently have unique values."

RadTreeView1.DataFieldParentID = "IdeaID"
RadTreeView1.DataFieldID = "ID";  
RadTreeView1.DataTextField = "IdeaName"
RadTreeView1.DataValueField = "IdeaStatus"
RadTreeView1.DataSource = dtT;                   
RadTreeView1.DataBind();

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Oct 2012, 05:24 AM
Hi Barry,

Datatype value for columns of DataFieldID and DataFieldParentID must be identical. I suppose You have non identical values. Try changing the values accordingly. Please elaborate your scenario if the issue persists.

Thanks,
Shinu.
Tags
TreeView
Asked by
Barry
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or