Currently, if I want to bind an ASP.NET TreeList to an OData DataSource, I have to define the data source using a javascript object: https://demos.telerik.com/aspnet-mvc/treelist/odata https://demos.telerik.com/aspnet-core/treelist/odata I would like to be able to be able to define the OData DataSource using ASP.NET Razor syntax just like the Grid: https://demos.telerik.com/aspnet-mvc/grid/odata https://demos.telerik.com/aspnet-core/grid/odata Thank you.
Hi Rami,
The underlying DataSource used by the TreeList is different from the DataSource used in the Grid. Thus, altering its options would result in a breaking change for the existing users of the component.
Because of this it is recommended to use the approach from the examples when binding TreeList to odata.
Regards,
Viktor Tachev
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.