This question is locked. New answers and comments are not allowed.
is the method to bind to hierarchy model change?
because the snippet from the Help not working
there's no "For" method :(..
because the snippet from the Help not working
there's no "For" method :(..
@(Html.Telerik().PanelBar() .Name("PanelBar") .HtmlAttributes(new { style = "width: 300px;" }) .BindTo(Model, mappings => { mappings.For<Category>(binding => binding .ItemDataBound((item, category) => { item.Text = category.CategoryName; }) .Children(category => category.Products)); mappings.For<Product>(binding => binding .ItemDataBound((item, product) => { item.Text = product.ProductName; })); }))