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 DataBindingPartial() { if (DevExpressHelper.IsCallback) { // Intentionally pauses server-side processing, // to demonstrate the Loading Panel functionality. Thread.Sleep(500); } return(PartialView("DataBindingPartial", DepartmentsProvider.GetDepartments())); }
public ActionResult Export() { TreeListExportDemoOptions options = new TreeListExportDemoOptions() { EnableAutoWidth = false, ExpandAllNodes = false, ShowTreeButtons = false }; Session["TreeListExportOptions"] = options; return(DemoView("Export", DepartmentsProvider.GetDepartments())); }
public ActionResult Export([Bind] TreeListExportDemoOptions options) { Session["TreeListExportOptions"] = options; foreach (string typeName in TreeListDemoHelper.ExportTypes.Keys) { if (Request.Params[typeName] != null) { return(TreeListDemoHelper.ExportTypes[typeName].Method( TreeListDemoHelper.CreateExportTreeListSettings(options), DepartmentsProvider.GetDepartments() )); } } return(DemoView("Export", DepartmentsProvider.GetDepartments())); }
public ActionResult SummaryPartial() { return(PartialView("SummaryPartial", DepartmentsProvider.GetDepartments())); }
public ActionResult Summary() { return(DemoView("Summary", DepartmentsProvider.GetDepartments())); }
public ActionResult MultipleNodeSelectionPartial() { return(PartialView("MultipleNodeSelectionPartial", DepartmentsProvider.GetDepartments())); }
public ActionResult MultipleNodeSelection([Bind] TreeListMultipleSelectionDemoOptions options) { Session["SelectionOptions"] = options; return(DemoView("MultipleNodeSelection", DepartmentsProvider.GetDepartments())); }
public ActionResult DataBinding() { Session["TreeListState"] = null; Session["ShowServiceColumns"] = false; return(DemoView("DataBinding", DepartmentsProvider.GetDepartments())); }
public ActionResult DataBinding(bool showServiceColumns) { Session["ShowServiceColumns"] = showServiceColumns; return(DemoView("DataBinding", DepartmentsProvider.GetDepartments())); }
public ActionResult ExportPartial() { return(PartialView("ExportPartial", DepartmentsProvider.GetDepartments())); }
public ActionResult ConditionalFormattingPartial() { return(PartialView("ConditionalFormattingPartial", DepartmentsProvider.GetDepartments())); }
public ActionResult ConditionalFormatting() { return(DemoView("ConditionalFormatting", DepartmentsProvider.GetDepartments())); }
public ActionResult Sorting() { return(DemoView("Sorting", DepartmentsProvider.GetDepartments())); }