Treeview control not requesting based on parent node

3 posts, 0 answers
  1. Andrew
    Andrew avatar
    7 posts
    Member since:
    Jul 2015

    Posted 26 Jul 2015 Link to this post

    I am following along with the demo found here: http://www.telerik.com/videos/aspnet-mvc/-persistedvalue-kendo-ui-for-asp-net-mvc-treeview-value-kendo-ui-for-asp-net-mvc-treeview and compared with the documentation here: http://demos.telerik.com/aspnet-mvc/treeview/remote-data-binding and there is no network traffic for subsequent child node requests that includes the id of the parent node. What results is a never ending list of "Andrew Fuller"s.

     I am operating in Visual Studio 2013 premium with EF 6.1 and SQL server 2014 hosting the Northwind database and the app being run on MVC 5 platform. The static Tree List displayed fine however upon attempting to perform the updates it stopped working.

     This overall has been a  pretty poor experience with the trial period and I am wondering exactly what I am doing wrong to be experiencing these issues.

  2. Paul
    Paul avatar
    113 posts
    Member since:
    May 2009

    Posted 27 Jul 2015 in reply to Andrew Link to this post

    Make sure the ID propertyname in your model is uppercase, if it's not or something else then you will need to specify it on you datasource. Below shows what you need to do when you ID is Id

    .DataSource(ds =>ds.Model(m=>m.Id("Id")).Read(rd => rd.Action("​myAction", "myController"))

  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 29 Jul 2015 Link to this post

    Hello Paul,

     

    Would it be possible to share the code base that is not working so we can take a look? As Paul suggested do you have the correct ID set in your Model configuration?

     

    Regards,
    Kiril Nikolov
    Telerik
    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