How do I specify schema for TreeView HierarchicalDataSource using HtmlHelper?

1 posts, 0 answers
  1. Greg
    Greg avatar
    5 posts
    Member since:
    Apr 2012

    Posted 20 Jul 2012 Link to this post

    I want to specify model schema, for example to specify "children" property. How do I need to change following Razor code to specify that "children" are stored in "subentities" property?

            .DataSource(dataSource => dataSource
                .Read(read => read
                    .Action("Employees", "TreeView")

    Does TreeView support schema customization?
Back to Top