コード例 #1
0
        public ActionResult _MultipleSelectForExport(
            string tabId, int parentId, [FromForm(Name = "IDs")] string ids, int page, int pageSize, string orderBy)
        {
            var listCommand   = GetListCommand(page, pageSize, orderBy);
            var serviceResult = FieldService.ListForExport(listCommand, parentId, Converter.ToInt32Collection(ids, ','));

            return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords));
        }
コード例 #2
0
        public ActionResult _MultipleSelectForExport(string tabId, int parentId, string IDs, GridCommand command)
        {
            var serviceResult = FieldService.ListForExport(command.GetListCommand(), parentId, Converter.ToInt32Collection(IDs, ','));

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