This question is locked. New answers and comments are not allowed.
I'm playing around with the TreeView control and I am wondering if it is possible to bind the TreeView to a pre-built collection of TreeViewNodes. I'm experimenting with an implementation where TreeViewItems are created in my Controller class and passed into my Views via the asp.net mvc Model object.
What I have is simply something like this
I was hoping that the TreeView api would support a data binding operation such as
What I have is simply something like this
@model IEnumerable<TreeViewItem>@Html.Telerik().TreeView().Name("MyTreeView").???What next???I was hoping that the TreeView api would support a data binding operation such as
@Html.Telerik().TreeView().Name("MyTreeView").Items(Model)