Problem while binding treeview

2 posts, 0 answers
  1. Gajanan
    Gajanan  avatar
    49 posts
    Member since:
    May 2010

    Posted 20 Oct 2010 Link to this post

    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

    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
  2. Yana
    Yana avatar
    4916 posts

    Posted 22 Oct 2010 Link to this post

    Hello Gajanan ,

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

    Best regards,
    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
Back to Top