public ActionResult MultipleNodeSelection() { TreeListMultipleSelectionDemoOptions options = new TreeListMultipleSelectionDemoOptions(); options.EnableRecursiveSelection = false; options.AllowSelectAll = false; options.SelectMode = "All"; Session["SelectionOptions"] = options; return(DemoView("MultipleNodeSelection", DepartmentsProvider.GetDepartments())); }
public ActionResult MultipleNodeSelection([Bind] TreeListMultipleSelectionDemoOptions options) { Session["SelectionOptions"] = options; return(DemoView("MultipleNodeSelection", DepartmentsProvider.GetDepartments())); }