This is a migrated thread and some comments may be shown as answers.

Treeview control not requesting based on parent node

2 Answers 99 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 27 Jul 2015, 04:19 AM

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 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 27 Jul 2015, 10:05 PM

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"))

0
Kiril Nikolov
Telerik team
answered on 29 Jul 2015, 06:56 AM

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
Tags
TreeView
Asked by
Andrew
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Kiril Nikolov
Telerik team
Share this question
or