These columns don't currently have unique values

2 posts, 0 answers
  1. Itzy
    Itzy avatar
    3 posts
    Member since:
    Jul 2015

    Posted 15 Jul 2015 Link to this post

    I get the error "These columns don't currently have unique values" when I have more than one NULL parent value in my list. The element Ids are all unique but I always get the error. Please help.

    Sample data
    parentId elementId  elementText
    NULL     116            ​Text1
    116         2108 ​         Text2
    2108       2109          Text3
    2108       2110           Text4
    NULL      72              Text5
    72           655             Text6
    72           660              Text7
    72 672


  2. Ivan Danchev
    Ivan Danchev avatar
    1955 posts

    Posted 20 Jul 2015 Link to this post


    I am afraid I was not able to reproduce the issue.

    Please find attached a sample project that demonstrates RadTreeView binding to a custom class and to hierarchical data that we get from the Northwind sample data base. Multiple root nodes have null ParentID values and this does not cause any error to be returned.
    Ivan Danchev
    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
Back to Top