public ActionResult FallCatalogReport([Bind(Prefix = "report_")][ModelBinder(typeof(ParameterDictionaryBinder))] Dictionary <string, string> parameter) { var model = ReportDemoHelper.CreateModel("FallCatalog", parameter); ViewData["report_parameterSortGroupsType"] = SelectListItemHelper.Generate((SortGroupsType)model.Report.Parameters["parameterSortGroupsType"].Value); ViewData["report_parameterSortGroupsOrder"] = SelectListItemHelper.Generate((XRColumnSortOrder)model.Report.Parameters["parameterSortGroupsOrder"].Value); return(DemoView("FallCatalogReport", "SampleViewer", model)); }
public static IEnumerable <SelectListItem> GetFormattingRuleStyleItems(int defaultValue) { return(SelectListItemHelper.Generate(FormattingRuleStyles, defaultValue)); }