Example #1
0
        public ActionResult MultipleSelectForExportExpanded(string tabId, int parentId, int[] IDs)
        {
            var result = FieldService.InitList(parentId);
            var model  = new FieldSelectableListViewModel(result, tabId, parentId, IDs, ActionCode.MultipleSelectFieldForExportExpanded)
            {
                IsMultiple = true
            };

            return(JsonHtml("MultiSelectIndex", model));
        }
Example #2
0
        public async Task <ActionResult> MultipleSelectForExportExpanded(string tabId, int parentId, [FromBody] SelectedItemsViewModel selModel)
        {
            var result = FieldService.InitList(parentId);
            var model  = new FieldSelectableListViewModel(result, tabId, parentId, selModel.Ids, ActionCode.MultipleSelectFieldForExportExpanded)
            {
                IsMultiple = true
            };

            return(await JsonHtml("MultiSelectIndex", model));
        }