I use report viewer in my .NET core application. the code as follow:
$("#reportViewer").telerik_ReportViewer({
serviceUrl: "../Api/reports/",
reportSource: {
//report: "Telerik.Reporting.Examples.CSharp.ReportCatalog, CSharp.ReportLibrary",
report: report,
parameters: parameters,
},
renderingBegin:ReportRendering,
viewMode: telerikReportViewer.ViewModes.PRINT_PREVIEW,
scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
scale: 1.0
});
function ReportRendering(e,args) {
var info = args.deviceInfo;
//info.set("FontEmbedding", "Full");
}
I want to set the pdf deviceinfo property FontEmbedding. how can I do this?
Hi,
Please help me with the following:
to output a list (a single column in a database) as a 4 columns list on a report, I have added a panel with four table/lists on it.The following expressions are here:
=RowNumber()%2 =0
=RowNumber() < (ReportItem.DataSource.Count / 4) =True
The report returns the same information in all four columns. What should be done to enforce each other table/lists continue to output the list.
Thank you.
In working in the Telerik Report Designer, I am passing a field from the main report datasource to a parameter in the subreport. I have verified that the field in the main report is not null or empty by displaying it on the report, showing a value. But in the subreport it is getting passed as null for some reason (I know it is null and not empty because if I set Allow Nulls to false for the parameter it errors), and displaying the parameter on the subreport shows nothing.
I have searched this issue and all I can find is how to work with parameters in C# or VB.Net code, but I am not at that step yet and am just wanting to preview the report within the standalone designer. I can get the main report to show the data it should, but the subreport is always blank due to the null parameter.
Hi,
I created a report using a telerik report designer and save as trdp file. I run this report in .net core application and generate the pdf files like this:
Report report;
using
(var sourceStream = System.IO.File.OpenRead(ReportFilePath))
{
var reportPackager =
new
ReportPackager();
report = (Report)reportPackager.UnpackageDocument(sourceStream);
}
var irs = CreateReportSource(reportHeader, account, report);
var reportProcessor =
new
Telerik.Reporting.Processing.ReportProcessor();
var renderedReport = reportProcessor.RenderReport(
"PDF"
, irs,
null
);
return
renderedReport.DocumentBytes;
The problem is that the report is wrong generating on linux machine. (On windows looks ok)
Could you tell me where is the problem?
I use RHEL7 with dotnet 2.1 runtime.
Please check the attached screenshots
Thanks for the answer
Has anyone ran into the situation where icon's don't render? If I create an example application from scratch they load just fine. However, when I incorporate all of the changes into our project (which is massive) they don't render. Here is an example screenshot. I'm not sure what to try next honestly. I can't open a ticket as I can't send them a replicated project. This is an Angular 7 frontend using the latest report viewer following all of their recommended steps.
Thanks,
-JV
The most recent Telerik documentation re limiting Export options (http://www.telerik.com/support/kb/reporting/details/limit-export-options-in-reportviewer-to-certain-format-only) recommends adding to the web.config files. I am working on an ASP.NET Core (VS 2015) project (framework 461). To my understanding, in an APS.NET Core project, web.config is there just so that the project can be hosted in IIS efficiently. Configuration is done in appsettings.json (or config.json).
Please describe how to similarly limit Export options in an ASP.NET Core project.
Thanks.
Hi all,
I'm looking for example code to call/render report stored at Report Server from Progress 4GL language (Progress v.11.5, AIX box) and save it somewhere as .PDF file.
Hope what I want is possible.
Thanks.