示例#1
0
        public ActionResult MultipleNodeSelection()
        {
            TreeListMultipleSelectionDemoOptions options = new TreeListMultipleSelectionDemoOptions();

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