I need to be able to bind similar to:
<%= Html.Telerik().TreeView()
.Name("TreeView")
.DragAndDrop(settings => settings
.DropTargets(".drop-container")
)
.ClientEvents(events => events
.OnNodeDrop("onNodeDrop")
)
.BindTo(Model, mappings =>
{
mappings.For<Employee>(binding => binding
.ItemDataBound((item, employee) =>
{
item.Text = String.Format("{0} {1}", employee.FirstName, employee.LastName);
item.ImageUrl = Url.Content("~/Content/TreeView/Common/contact.png");
item.Expanded = true;
})
.Children(employee => employee.Employees));
})
.HtmlAttributes(new { @class = "t-group" })
%>
and have the functionality of sorting, filtering