Ejemplo n.º 1
0
        public ActionResult _MultipleSelectForExportExpanded(
            string tabId, int parentId, [FromForm(Name = "IDs")] string ids, int page, int pageSize, string orderBy)
        {
            var listCommand   = GetListCommand(page, pageSize, orderBy);
            var serviceResult = FieldService.ListForExportExpanded(
                listCommand, parentId, Converter.ToInt32Collection(ids, ','));

            return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords));
        }
Ejemplo n.º 2
0
        public ActionResult _MultipleSelectForExportExpanded(string tabId, int parentId, string IDs, GridCommand command)
        {
            var serviceResult = FieldService.ListForExportExpanded(command.GetListCommand(), parentId, Converter.ToInt32Collection(IDs, ','));

            return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords));
        }