I have tried generating a PDF directly from my report and I have tried opening it in a viewer. I always come back to this error.
FileNotFoundException: Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.0.5022.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I've tried installing the package listed in Nuget, but that exact version does not appear to be available. The versions I tried did not fix the problem.
Here is my code for generating the report...
InstanceReportSource report = new InstanceReportSource();
report.ReportDocument = new BatchReport();
report.Parameters.Add("BatchNumber", batch.ID);
ReportGenerator.DisplayPDF(report);
public static void DisplayPDF(InstanceReportSource source)
{
ReportProcessor reportProcessor = new ReportProcessor();
RenderingResult result = reportProcessor.RenderReport("PDF", source, null);
if (!result.HasErrors)
{
string fileName = result.DocumentName + "." + result.Extension;
string path = System.IO.Path.GetTempPath();
string filePath = System.IO.Path.Combine(path, fileName);
using (System.IO.FileStream fs = new System.IO.FileStream(filePath, System.IO.FileMode.Create))
{
fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
}
Process.Start($"file://{filePath}");
}
}
Hello,
I have .trdp files that have a textbox with a culture set as 'en-US' and the format for the textbox is '{0:C2}'.
There is no such change in the file.
It was rendering negative currency values properly until I updated Telerik. Reporting Nuget version from NuGet '17.2.23.1010' to '17.2.23.1114' in my .Net 7 project.
Please, guide me if I am missing something.

Hi,
We're currently investigating Telerik reporting as a replacement reporting product. There are two features we're trying to understand if there is a suitable method in Telerik.
1. Parameters driven report. We want to able to present the user with parameters before the report retrieves any data.
As an example, present a list of sites that the user can choose from and then retrieve the data for only that site in the report. I've included a link to a similar idea seen in another product.
https://developer.mescius.com/activereportsnet/demos/dynamic/parameter-driven
2. Drop down tree filter
When a report is loaded to be able to filter with a drop down tree filter similar to the Kendo component.
As an example, the user opens a report for all sites. This list contains 200 sites. After opening they want to filter to only show a small subset of those sites. The drop down tree would be ideal for this.
https://demos.telerik.com/kendo-ui/dropdowntree/index
This is how i want it to look like. I also want to populate the table without using wizard

Hi Support,
Is there any documentation on it that i can read? My project is Blazor WASM based.
