Unplanned
Last Updated: 28 Mar 2025 10:03 by Pablo
Exporting XLS file with filters results in a corrupted document.
Unplanned
Last Updated: 21 Mar 2025 15:14 by Piotr
Unplanned
Last Updated: 04 Mar 2025 08:03 by Flemming
This is a sample code to replicate the error which is triggered on export: 
            string inputFileName = "input.xlsx";
            if (!File.Exists(inputFileName))
            {
                throw new FileNotFoundException(String.Format("File {0} was not found!", inputFileName));
            }

            Telerik.Windows.Documents.Spreadsheet.Model.Workbook workbook;
            IWorkbookFormatProvider formatProvider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx.XlsxFormatProvider();

            using (Stream input = new FileStream(inputFileName, FileMode.Open))
            { 
                workbook = formatProvider.Import(input, TimeSpan.MaxValue);
            }
            string outputFilePath = "output.xlsx";

            using (Stream output = new FileStream(outputFilePath, FileMode.Create))
            {
                formatProvider.Export(workbook, output, TimeSpan.MaxValue);
            }
            Process.Start(new ProcessStartInfo() { FileName = outputFilePath, UseShellExecute = true });
Unplanned
Last Updated: 28 Feb 2025 11:40 by David

Incorrect timestamp of a DateTime with custom number format.

Expected:

Actual:

Unplanned
Last Updated: 25 Feb 2025 14:53 by David
Chart with missing shape properties (shPr) is corrupted with black background after PDF export.
Unplanned
Last Updated: 17 Feb 2025 15:34 by Sandy
Unplanned
Last Updated: 06 Feb 2025 12:00 by Sandy
ConditionalFormattingRange' s Formattings collection is not correctly enumerated when there are rules with intermittent ranges.
Duplicated
Last Updated: 30 Jan 2025 13:31 by ADMIN
Created by: Philip
Comments: 1
Category: SpreadProcessing
Type: Bug Report
0

trying to open the attached workbook with this code:

Telerik.Windows.Documents.Spreadsheet.Model.Workbook workbook;
using (Stream input = File.OpenRead("sample.xlsx"))
{
  var provider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx.XlsxFormatProvider();
  // The import method enables you to also pass a byte[] with the XLSX document data
  workbook = provider.Import(input, TimeSpan.FromSeconds(30));
}

I get an unhandled exception:

An unhandled exception of type 'System.ArgumentNullException' occurred in Telerik.Documents.Spreadsheet.dll
Value cannot be null.

Any idea what's going on?

Thank you for your time,

 

Phil

Unplanned
Last Updated: 29 Jan 2025 14:18 by Lava
Created by: Lava
Comments: 0
Category: SpreadProcessing
Type: Feature Request
1
Introduce import/export of a single sheet.
Unplanned
Last Updated: 24 Jan 2025 08:12 by Christopher

Use the following code to create the document: 

            Workbook workbook = new Workbook();
            Worksheet graphWorksheet = workbook.Worksheets.Add();
            FloatingChartShape chartShape = new FloatingChartShape(graphWorksheet,
                                         new CellIndex(0, 0),
                                         new CellRange(0, 0, 0, 0), ChartType.Column)
            {
                Width = 500,
                Height = 500,
            };

            graphWorksheet.Charts.Add(chartShape);
            DocumentChart chart = new DocumentChart();
            BarSeriesGroup barSeriesGroup = new BarSeriesGroup();
            barSeriesGroup.BarDirection = BarDirection.Column;
            StringChartData barCategoryData = new StringChartData(new List<string>() { "1.1", "1.2", "1.3", "1.4", "2.1", "3.1", "4.1", "4.2", "4.3" });
            IEnumerable<double> percentEvidentList = new List<double>() { Math.Round((double)0.9914 * 100, 4) , Math.Round((double)0.7719 * 100, 4), Math.Round((double)1 * 100, 4)   };
            NumericChartData barValues = new NumericChartData(percentEvidentList);
            BarSeries series = new BarSeries();
            series.Categories = barCategoryData;
            series.Values = barValues;
            ThemableColor themableColor = ThemableColor.FromArgb(255, 125, 0, 125);

            series.Fill = new SolidFill(themableColor);
            series.Title = new TextTitle("FY 20");
            barSeriesGroup.Series.Add(series);
            chart.SeriesGroups.Add(barSeriesGroup);
            ValueAxis valueAxis = new ValueAxis();
            valueAxis.Min = 0;
            valueAxis.Max = 100;
            valueAxis.NumberFormat = "0%";
            CategoryAxis categoryAxis = new CategoryAxis(); 
            chart.PrimaryAxes = new AxisGroup(categoryAxis, valueAxis);

            chart.Legend = new Legend();
            chart.Legend.Position = LegendPosition.Left;

            chartShape.Chart = chart;
            valueAxis.NumberFormat = "0%";
            string outputFilePath = "SampleFile.xlsx";
            File.Delete(outputFilePath);
            IWorkbookFormatProvider formatProvider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx.XlsxFormatProvider();

            using (Stream output = new FileStream(outputFilePath, FileMode.Create))
            {
                formatProvider.Export(workbook, output, TimeSpan.FromSeconds(10));
            }
            Process.Start(new ProcessStartInfo() { FileName = outputFilePath, UseShellExecute = true });
Unplanned
Last Updated: 27 Jan 2025 15:00 by ADMIN
Created by: Christopher
Comments: 2
Category: SpreadProcessing
Type: Feature Request
1
Unplanned
Last Updated: 21 Jan 2025 15:42 by Adrian
Created by: Adrian
Comments: 0
Category: SpreadProcessing
Type: Feature Request
0
Add support for "Of Pie" charts (ofPieChart).
Unplanned
Last Updated: 21 Jan 2025 15:35 by Adrian
Import-export of a document with an unsupported "Of Pie" chart (ofPieChart) results in an invalid document.
Unplanned
Last Updated: 10 Jan 2025 12:45 by Chris
Handle import of documents containing XLSX-incompatible names.
Unplanned
Last Updated: 02 Jan 2025 09:59 by Ralf
XlsFormatProvider: FormulaParseException is thrown when importing a document with formulas referencing non-existent named ranges.
Completed
Last Updated: 12 Feb 2025 15:18 by ADMIN
Release 2025.1.205 (2025 Q1)

If I simply import the xls file with the XlsFormatProvider that RadSpreadProcessing offers and then export it either to xls or xlsx format, the following message pops up when opening the document in MS Excel:

The exported XLS or XLSX file with RadSpreadProcessing contains an additional <definedName>: 

<?xml version="1.0" encoding="utf-8"?>
<workbook xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
	<sheets>
		<sheet sheetId="1" name="Sheet1" state="visible" r:id="rId1" />
	</sheets>
	<definedNames>
		<definedName name="Print_Titles" localSheetId="0" hidden="false">Sheet1!$A$1:$IV$3</definedName>
		<definedName name="_xlnm.Print_Area" localSheetId="0" hidden="false">Sheet1!$A:$G</definedName>
		<definedName name="_xlnm.Print_Titles" localSheetId="0" hidden="false">Sheet1!$1:$3</definedName>
	</definedNames>
</workbook>

 

Declined
Last Updated: 26 Dec 2024 06:35 by ADMIN

For the Telerik Spreadsheet control, XlsxFormatProvider.Export() API is used for saving the .xlsx file manually without the UI command(Save As dialog) invocation. This API is currently returning a byte stream.

The requirement is that the API should also intimate the user whether the export is successful or not by returning a boolean value.

Note: I think we can implement this requirement at the base level which is for the BinaryFormatProviderBase class or atleast at the FormatProviderBase class.

Unplanned
Last Updated: 11 Dec 2024 15:08 by Domenico

Some fonts are not measured correctly by RadTextMeasurer.

Unplanned
Last Updated: 04 Dec 2024 12:18 by ADMIN
Created by: Andrew
Comments: 1
Category: SpreadProcessing
Type: Feature Request
1

Hello! I'd like to request that the WorksheetPrintOptions library be able to specify what duplex to print. This is regarding:

namespace Telerik.Windows.Documents.Spreadsheet.Model;

In Excel there are currently 3 options (for my printer):

Print One Sided
Print on Both Sides (pages flip on Long Edge)
Print on Both Sides (pages flip on Short Edge)

Currently at my company, in order to save paper the default for everyone's printers is Print on Both Sides (Long Edge). (Our printer, btw, is a Canon iR-ADV C3826 UFR II).

On a report I have created in Excel with Telerik, it's 3 pages but it's meant to clip onto a clipboard so it can't be double sided. So I would like the option to do this:

worksheet.WorksheetPageSetup.PrintOptions.Duplex = PrintOptionsDuplex.OneSided;

something like that. However you want to implement it is fine. Duplex may be the wrong word here. Maybe just .OneSided = true; or .BothSidesLong = true; or something. 

Anyhow, I think that would be handy for my particular instance, and I think printing both sided for most people might save a lot of paper too so it might benefit other situations as well.

For now, I will instruct my clients they have to just manually switch to One Sided each time the print this report.

Thanks!

Completed
Last Updated: 12 Feb 2025 15:18 by ADMIN
Release 2025.1.205 (2025 Q1)

ArgumentNullException is thrown when importing a document containing a rule with no set format.

1 2 3 4 5 6