I have a program that is installed in C:\Program Files (x86)\Qiagen\PGxUtils and I am using the code below to render reports by passing the full path of the report template to the function. This works fine when it is a single standalone report but when I try to use a report with subreports I get the following:
Could not find file 'C:\Program Files (x86)\Qiagen\PGxUtils\SubFinalReportV1_PatientDemographics.trdp'.,
Reading the online documentation this seems to be by design but I need to know how to work around it in order to use subreports.
using Telerik.Reporting;On Windows I am able to set the background image of a textbox with the following code:
using (var surface = SkiaSharp.SKSurface.Create(new SkiaSharp.SKImageInfo(100, 100)))
{
Telerik.Reporting.Processing.TextBox textbox;
using (var image = surface.Snapshot())
using (var data = image.Encode())
{
byte[] imageData = data.ToArray();
using (var ms = new MemoryStream(imageData))
{
textbox.Style.BackgroundImage.ImageData = System.Drawing.Image.FromStream(ms);
}
}
}
"CA1416: This call site is reachable on all platforms. 'Image.FromStream(Stream)' is only supported on: 'windows' 6.1 and later."
What is the Linux compatible version of Image.FromStream()?
We are currently generating TRDX reports using the Telerik Report Designer tool, saving the XML output to a database. When a user runs a report, we retrieve the report XML, update the parameters, and then render the report using the Report Processor. However, we now need to export the report into multiple Excel tabs.
One potential solution is to use Report Book, which is stored in a TRBP file, but we're having trouble reading the contents of this file. Are there any alternative approaches we could take to achieve this functionality?
I have a standalone report that gets all the data from the table. I added a bitmask filter to my SQL query, and I get the results I expect in SQL Studio.
SELECT
[Item],
STRING_AGG([RuleNo], ', ') WITHIN GROUP (ORDER BY [RuleSort]) AS GroupedRuleNos
FROM [SFB_Annex].[dbo].[tblAnnex01]
LEFT JOIN [SFB_Annex].[dbo].[tblProducts] ON [tblAnnex01].[ProductID] = [tblProducts].[ProductID]
WHERE ([tblProducts].[QuadrantBitMask] & 32) != 0
GROUP BY [Item]
ORDER BY [Item];
When I try to add the bit mask as a filter, I keep getting an error "Cannot perform '<>' operation on System.Boolean and System.String."
Here is the filter I am trying to use:
Telerik.Reporting.Filter filter = new Telerik.Reporting.Filter();
filter.Expression = "=([tblProducts].[QuadrantBitMask] AND " + QuadrantBitMask.ToString() + ")";
filter.Operator = Telerik.Reporting.FilterOperator.NotEqual;
filter.Value = "!=0";
report.Filters.Add(filter);
How would I add the bitmasked value into the filter?
I'm getting below error while installing Telerik Reporting 2024 Q1 (18.0.24.130) Installation Error. I have downloaded the .msi file from Telerik site. Kindly Help.
I have been following the tutorials on creating PDFs of existing reports. I have a function where I pass in the path name to the report (TRDP file).
Can you add filter or parameter to the report?
ReportProcessor reportProcessor = new ReportProcessor();
I just started to evaluate the Trial Version of Reports. The good news is that I was able to re-create one of my existing Crystal Reports to a Telerik Report using the Designer. The bad news is I can't get the report to display in my existing .NET Core App(.net 9). I get the same error message in this link:
https://docs.telerik.com/reporting/knowledge-base/cannot-access-the-reporting-rest-service
I used this link below to get started.
It says at the bottom of the link that there is a full example in the install folder, but the example only contains the REST service piece, not a full example where a REST is attached to a project.
Anyways, I am not having any luck troubleshooting this error message. There is a mention of creating a .log file, but that file is not being generated for me. I tried Fiddler - have never used that before. I see this message below popped up., but no idea what that means. Do you have a full working example somewhere with a project and attached REST service?
{"message":"An error has occurred.","exceptionMessage":"Invalid URI: The hostname could not be parsed.","exceptionType":"UriFormatException","stackTrace":null}