When my view runs, there is valid data in Model.TReeListData, but no data is output to the html. The resulting json object just contains the column and model definitions, but no data.
So what exactly does BindTo() actually do? NOTHING!
If its not supported, then this should not compile.
If it does compile, then it should work.
Eyup
Telerik team
commented on 10 Jun 2021, 04:19 PM
| edited
Thank you for bringing this issue to our attention. I tested the described scenario and was able to reproduce the problem. I've updated your Telerik points as a token of gratitude.
I will log it in our backlog for further action to determine whether it is a bug or limitation.
3 Answers, 1 is accepted
0
Dimiter Madjarov
Telerik team
answered on 27 Nov 2014, 03:41 PM
Hello Jason,
Indeed the MVC TreeList currently does not have a helper for binding it to local data. You could use the JavaScript implementation instead.
Regards,
Dimiter Madjarov
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.
Is this still the same? Should we use the JavaScript implementation?
0
Konstantin Dikov
Telerik team
answered on 30 Jul 2018, 08:53 AM
Hi Ziraat,
The TreeList still does not support server binding and the only option for local binding is to use the Kendo UI TreeList.
Regards,
Konstantin Dikov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.
I have just wasted a few hours trying to get a TreeList to display some data.
@(Html.Kendo().TreeList<ExtraDetailsConfigVM.TreeListRowVM>()
.BindTo(Model.TreeListData)
.Name("JRCExtraDetailsTL")......
When my view runs, there is valid data in Model.TReeListData, but no data is output to the html. The resulting json object just contains the column and model definitions, but no data.
So what exactly does BindTo() actually do? NOTHING!
If its not supported, then this should not compile.
If it does compile, then it should work.
Thank you for bringing this issue to our attention. I tested the described scenario and was able to reproduce the problem. I've updated your Telerik points as a token of gratitude.
I will log it in our backlog for further action to determine whether it is a bug or limitation.