treelist not showing child items

2 posts, 0 answers
  1. Dan
    Dan avatar
    6 posts
    Member since:
    Apr 2013

    Posted 24 Sep 2014 Link to this post

    I've verified that my parent item data matches the parent nodes, and I've nulled the parent "parent item" field so the parents show up, but no child items show up no matter what I do to tweak things.

    I've read every thread I can find and this should be so simple from the demo examples.

    is there some trick I'm missing that I can't find the post for?

    Here's my markup:

    <telerik:RadTreeList ID="RadTreeList1" runat="server" OnNeedDataSource="RadTreeList1_NeedDataSource" ParentDataKeynames="Owner" DataKeyNames="Title" AutoGenerateColumns="false" OnItemDataBound="RadTreeList1_ItemDataBound" > <Columns> <telerik:TreeListBoundColumn DataField="Title" UniqueName="Title" HeaderText="Menu Item"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="Owner" UniqueName="Owner" HeaderText="Parent Item"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="Time" UniqueName="Time" HeaderText="Children"> </telerik:TreeListBoundColumn> <telerik:TreeListBoundColumn DataField="Notes" UniqueName="Notes" HeaderText="Notes"> </telerik:TreeListBoundColumn> </Columns> </telerik:RadTreeList>
  2. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 29 Sep 2014 Link to this post

    Hello Dan,

    Thank you for contacting us.

    Can you please verify that your data source has the appropriate structure for treelist-type visualization? You can check the binding of the second control RadTreeList2 for a reference in the following live sample:
    http://demos.telerik.com/aspnet-ajax/treelist/examples/databinding/simplevsadvancedbinding/defaultcs.aspx

    I'm also sending a random web site sample to demonstrate a basic LoadOnDemand binding:
    http://demos.telerik.com/aspnet-ajax/treelist/examples/databinding/loadondemand/defaultcs.aspx

    If the issue remains, please create a very basic runnable web site demonstrating the problematic behavior and send it to us. Thus, we will be able to further debug and analyze the project and try to determine the cause of the problem.

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top