No records to display even when I can see data in Network Monitor

5 posts, 1 answers
  1. John
    John avatar
    23 posts
    Member since:
    Jan 2015

    Posted 24 Feb 2015 Link to this post

    I'm using the MVC extensions to setup my Tree List

    @(Html.Kendo().TreeList<SiteMapTreeModel>()
          .Name("treelist")
          .Columns(columns =>
              {
                  columns.Add().Field(c => c.Title).Title("Title").Width(250);
                  columns.Add().Field(c => c.Url).Title("URL");
              })
          .DataSource(dataSource => dataSource
              .Read(read => read.Action("SiteMapTree", "HomeAjax").Data("getServiceAndLocale"))
              .Model(model =>
                  {
                      model.Id(m => m.Id);
                      model.ParentId(m => m.ParentId);
                      model.Field(m => m.Title);
                      model.Field(m => m.Url);
                  })
          )
          .AutoBind(false)
          .Selectable(true)
          .Deferred()
          .Height(540))

    ... and using Chrome Dev Tools > Network, I see the following data in the AJAX method SiteMapTree, but the Tree List says "No records to display":

    {"Data":[{"Id":1602,"ParentId":1000,"Title":"Dashboard","Url":"~/Dashboard/Start","hasChildren":true},{"Id":22,"ParentId":1000,"Title":"Rules","Url":"~/Rules/Start","hasChildren":true},{"Id":1,"ParentId":1000,"Title":"Administration","Url":"~/Admin/Start","hasChildren":true}],"AggregateResults":{},"Errors":null}

    ... and I am using ToTreeDataSourceResult() in the AJAX method to format the data (and ParentId of 1000 is the root of the tree).

    What am I doing incorrectly?

    FYI: I have set the AutoBind of the TreeList to false because I am calling dataSource.read(); when a dropdownlist item is selected. The Tree List has no context until the dropdown is selected.

    Thanks,
    --John
  2. Answer
    Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 26 Feb 2015 Link to this post

    Hello John,

    TreeListDtaSource will use parent key field default value to determine whether it is a root node. By default it expects to find ParentId with value of null for root nodes.

    In your data however there aren't such nodes. That said you can add 100 as default value for the parent id field.

    .Model(model =>
    {
     model.Id(m => m.Id);
     model.ParentId(m => m.ParentId).DefaultValue(100);
     model.Field(m => m.Title);               
    })

     

    Regards,
    Nikolay Rusev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. John
    John avatar
    5 posts
    Member since:
    Feb 2015

    Posted 06 Mar 2015 in reply to Nikolay Rusev Link to this post

    This is very interesting Nikolay, because I _do_ have null values for my parentId fields and still get the same error as the previous dev was getting while using the MVC treelist control.  I am at wit's end here.  The strange thing is that I can get the javascript version of this to work fine (my data comes back great).  I don't think my set up / config is any different between them.

    Here's the JSON being returned by my controller:

    [{"TeamName":"Management","Read":false,"Write":false,"TeamId":1,"ParentId":80,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"1723b43e-f426-4dce-acec-b738473f4676","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Management","Read":false,"Write":false,"TeamId":2,"ParentId":77,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"17914a68-eb31-4037-93a4-a19fb8bba637","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Management","Read":false,"Write":false,"TeamId":3,"ParentId":78,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"7cd783b1-77d9-4e8e-8e41-32c7f9cd43aa","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Management","Read":false,"Write":false,"TeamId":4,"ParentId":79,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"e9895a31-3bba-40c4-9f33-a3acd077513e","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"US","Read":false,"Write":false,"TeamId":5,"ParentId":77,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"9533619a-a2bb-4611-b5db-de63a73d5718","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"UK","Read":false,"Write":false,"TeamId":6,"ParentId":77,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"324eeaed-10af-414c-9fa1-d4cbe47ed384","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"NA Centre","Read":false,"Write":false,"TeamId":7,"ParentId":77,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"edc7928e-dbb6-4c84-b27c-42137e04ee75","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"UK","Read":false,"Write":false,"TeamId":8,"ParentId":78,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"fd2a41ba-9cde-49ea-9fef-8e49f690af11","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Specialty Centre","Read":false,"Write":false,"TeamId":9,"ParentId":78,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"f74ba3e4-ee0f-4bfb-bf58-113b356cbc94","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"US","Read":false,"Write":false,"TeamId":10,"ParentId":78,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"ac808a90-f354-47fe-a9ec-8f3140666a64","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Latin America","Read":false,"Write":false,"TeamId":11,"ParentId":79,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"3c132b26-5b80-451f-a50d-a09583eaa7f4","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"APMETA","Read":false,"Write":false,"TeamId":12,"ParentId":79,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"cd56d3aa-0aee-4111-9d55-4ddc24470be6","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Europe","Read":false,"Write":false,"TeamId":13,"ParentId":79,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"bee65c9f-503a-41be-a876-a1fc74e81f8a","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"WRI Centre","Read":false,"Write":false,"TeamId":14,"ParentId":79,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"e1203cac-0daf-4012-a4b1-2b9480567a77","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"West","Read":false,"Write":false,"TeamId":15,"ParentId":12,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"bbf4725c-a9f7-4dd2-b74b-64fae75ba0de","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Bermuda","Read":false,"Write":false,"TeamId":16,"ParentId":6,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"38fb73b8-1539-41a1-85e2-a890b1522bb6","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Bermuda","Read":false,"Write":false,"TeamId":17,"ParentId":13,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"1c98e932-20b5-4a25-af76-f6d4b757ac15","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Seattle","Read":false,"Write":false,"TeamId":18,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"7b275be8-63b5-4df5-83a7-1b2feabf8763","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"San Francisco","Read":false,"Write":false,"TeamId":19,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"42260037-2b2e-4f53-a122-c1b9ac06acbb","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Australia","Read":false,"Write":false,"TeamId":20,"ParentId":12,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"004d0031-164e-48f4-98a5-41095304908a","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Malaysia","Read":false,"Write":false,"TeamId":21,"ParentId":40,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"6328eedb-6612-4b16-951e-51e57bec7713","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Singapore","Read":false,"Write":false,"TeamId":22,"ParentId":40,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"19b55cbe-aa41-412d-8b6d-a9b7a852bb2d","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Stamford","Read":false,"Write":false,"TeamId":23,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"34be218c-a49b-4fae-9beb-f5a03cc899fd","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"South","Read":false,"Write":false,"TeamId":24,"ParentId":12,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"0ee06f50-36f7-4214-a05f-a9a59663efc9","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Aerospace","Read":false,"Write":false,"TeamId":25,"ParentId":8,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"c84c7e70-9223-46ea-bb2e-af968d7cd06d","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"France/Belgium","Read":false,"Write":false,"TeamId":26,"ParentId":13,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"74c3250f-a9cb-411c-9b94-a2ae05c739dd","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"LA London","Read":false,"Write":false,"TeamId":27,"ParentId":11,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"1c71ca44-9bd3-4c50-9438-3c3e99d4ea64","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"UK","Read":false,"Write":false,"TeamId":28,"ParentId":33,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"02ed5a81-511c-4963-8263-431362d7ec13","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Italy/Iberia","Read":false,"Write":false,"TeamId":29,"ParentId":13,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"4ada896b-863d-4eac-ada9-d7437f8eae03","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Dallas","Read":false,"Write":false,"TeamId":30,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"7a27f46a-5fc7-4d3f-9720-a161e9e8a6b1","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Nashville","Read":false,"Write":false,"TeamId":31,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"53909747-c831-42cf-b3c0-19b2e58f56c3","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"London","Read":false,"Write":false,"TeamId":32,"ParentId":20,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"f1293eb9-e3a8-4670-9b2b-5c96b459dd8d","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"UK/Ireland","Read":false,"Write":false,"TeamId":33,"ParentId":13,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"f45efcc2-1bfc-43d2-983a-5d35e238d391","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Non-Marine","Read":false,"Write":false,"TeamId":34,"ParentId":8,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"14705a6a-b1e9-46ed-9df7-b7ebc78e5e9d","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Marine","Read":false,"Write":false,"TeamId":35,"ParentId":8,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"5f21eabb-2a63-4aab-bfff-4277b2f2d32c","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Japan","Read":false,"Write":false,"TeamId":36,"ParentId":12,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"cdaa5c35-fc3f-4ad5-9ce3-c8927598525c","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Nordic","Read":false,"Write":false,"TeamId":37,"ParentId":13,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"4505bbd6-500c-46e1-9036-c1acaf220885","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Minneapolis","Read":false,"Write":false,"TeamId":38,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"93a8587f-d669-4c23-9d79-2858902d5a35","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Ireland","Read":false,"Write":false,"TeamId":39,"ParentId":33,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"dbf8edea-679a-49c1-b9d8-c5ac80b72852","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"North Asia","Read":false,"Write":false,"TeamId":40,"ParentId":66,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"9a16f504-2ff0-4f9f-ba71-9a6f6725fddf","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"North Carolina","Read":false,"Write":false,"TeamId":41,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"26fc92ec-5a58-4a2a-8cbc-5d0b59550cf7","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Spain/Port","Read":false,"Write":false,"TeamId":42,"ParentId":29,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"d3e27674-ffa4-411a-b65b-c2dc4379f1e9","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Atlanta","Read":false,"Write":false,"TeamId":43,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"9837bf08-e324-4202-ac0a-b92d606cf48d","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Philadelphia","Read":false,"Write":false,"TeamId":44,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"7b642176-c5b2-47a5-9424-43e87db9f260","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Turkey","Read":false,"Write":false,"TeamId":45,"ParentId":15,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"a4b604f3-a350-490f-a228-882431315f33","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Holland","Read":false,"Write":false,"TeamId":46,"ParentId":13,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"f546d6f4-7261-48f2-8bcb-4f9f7e38dbd1","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"China/HK","Read":false,"Write":false,"TeamId":47,"ParentId":48,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"91f7b327-23d7-4d7a-a6e3-477c8ab50af6","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"South East Asia","Read":false,"Write":false,"TeamId":48,"ParentId":66,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"3e99bc01-4efb-4309-97bb-09d5943eee66","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"South Africa","Read":false,"Write":false,"TeamId":49,"ParentId":12,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"67522407-f453-4390-8eb0-82cfa3049df2","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Mauritius","Read":false,"Write":false,"TeamId":50,"ParentId":13,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"66479706-dedf-4134-adf6-c616b2cad665","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"LA Miami","Read":false,"Write":false,"TeamId":51,"ParentId":11,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"a087954a-0558-4aba-b558-208842722e48","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"New York","Read":false,"Write":false,"TeamId":53,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"4d36e934-e3b0-4bde-9f5e-6e42fc300209","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Sydney","Read":false,"Write":true,"TeamId":54,"ParentId":20,"UserTeamPermissionId":1,"UserId":232,"PermissionId":0,"TeamKey":"3d952b3b-54d5-4a37-b38d-0f9f3533c771","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Chicago","Read":false,"Write":false,"TeamId":55,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"ee00e5c5-ca5f-451c-9a42-94a13e24d720","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"India","Read":false,"Write":false,"TeamId":56,"ParentId":12,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"4f92f20f-5923-41dc-a0ae-32af98a8818e","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"East","Read":false,"Write":false,"TeamId":57,"ParentId":12,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"ef079de8-1d71-4ac8-93a2-358895abe7db","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Turkey","Read":false,"Write":false,"TeamId":58,"ParentId":70,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"fc3eb03e-1791-4663-896b-19a6bd50ddbd","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Taiwan","Read":false,"Write":false,"TeamId":59,"ParentId":48,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"5aac8981-b70a-4a55-b3f8-f47877c572c9","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Korea","Read":false,"Write":false,"TeamId":60,"ParentId":48,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"ae477bf0-26cd-4eae-be2f-c0ae0df4821f","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"A\u0026H","Read":false,"Write":false,"TeamId":61,"ParentId":33,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"8ab1aa77-1b32-44e1-a550-79638b49734e","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Italy/Med","Read":false,"Write":false,"TeamId":62,"ParentId":29,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"d8d0eba5-e9cf-4585-aa5b-cbc502a94bce","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"DACH/CEE","Read":false,"Write":false,"TeamId":63,"ParentId":13,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"5b7ffc0c-f822-4317-839c-eda45898412e","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"DACH","Read":false,"Write":false,"TeamId":64,"ParentId":63,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"2aabfbdc-3ca8-4b17-8986-751c0f26523b","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"CEE","Read":false,"Write":false,"TeamId":65,"ParentId":63,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"df100fe5-b72b-46f1-854f-4357019ca0ef","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Asia","Read":false,"Write":false,"TeamId":66,"ParentId":12,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"8ebfcd4e-ece8-4ec9-a154-7fe50ddef46c","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"London","Read":false,"Write":false,"TeamId":67,"ParentId":66,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"063f052d-8f3d-4570-9eba-291be0265ae3","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"London","Read":true,"Write":false,"TeamId":68,"ParentId":56,"UserTeamPermissionId":0,"UserId":232,"PermissionId":0,"TeamKey":"38bd1c30-298e-4025-92d7-dad2e3784bc9","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"London","Read":false,"Write":false,"TeamId":69,"ParentId":36,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"3094574f-796c-4f55-a076-da35f2efadb0","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Middle East","Read":false,"Write":false,"TeamId":70,"ParentId":12,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"1423418d-5158-4196-82f0-1928809480a9","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"London","Read":false,"Write":false,"TeamId":71,"ParentId":70,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"01cd0d82-811c-4cb2-8083-06fc9c9c2c9d","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"London","Read":false,"Write":false,"TeamId":74,"ParentId":49,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"b0fad0cc-2526-4029-87dc-0f2968a7f03e","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Canada","Read":false,"Write":false,"TeamId":75,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"0d546e31-40be-45bc-8a67-ddde06ded51d","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Portland","Read":false,"Write":false,"TeamId":76,"ParentId":5,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"fd931618-da9d-4b39-b3aa-037f46af8bb0","ParentKey":"00000000-0000-0000-0000-000000000000","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"North America","Read":false,"Write":false,"TeamId":77,"ParentId":null,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"20fe3bc4-9ad2-4229-afd6-de2389a7be86","ParentKey":"20fe3bc4-9ad2-4229-afd6-de2389a7be86","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Specialty","Read":false,"Write":false,"TeamId":78,"ParentId":null,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"dcb659f9-d72b-46a3-9faf-66aa9358fae5","ParentKey":"dcb659f9-d72b-46a3-9faf-66aa9358fae5","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"International","Read":false,"Write":false,"TeamId":79,"ParentId":null,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"288268f5-0138-4390-a2f5-734f3bd12acd","ParentKey":"288268f5-0138-4390-a2f5-734f3bd12acd","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null},{"TeamName":"Global Centre","Read":false,"Write":false,"TeamId":80,"ParentId":null,"UserTeamPermissionId":0,"UserId":0,"PermissionId":0,"TeamKey":"c64718dd-9094-4ef9-9e1a-a2dfab06bfcf","ParentKey":"c64718dd-9094-4ef9-9e1a-a2dfab06bfcf","CREATE_DTTM":"\/Date(-62135575200000)\/","CREATE_USER":null,"CREATE_SOURCE":null,"UPDATE_DTTM":"\/Date(-62135575200000)\/","UPDATE_USER":null,"UPDATE_SOURCE":null}]
  5. John
    John avatar
    5 posts
    Member since:
    Feb 2015

    Posted 09 Mar 2015 in reply to John Link to this post

    I was not using the ToTreeDataSourceResult() extension in my controller method...I solved the immediate issue.
  6. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 10 Mar 2015 Link to this post

    Hello John,

    Seems that you've managed to resolve the issue which you had. Thus I will close this thread.

    Regards,
    Nikolay Rusev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready