Telerik Forums
Reporting Forum
2 answers
611 views

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?

Vincent
Top achievements
Rank 1
Iron
 answered on 03 Jan 2020
11 answers
1.1K+ views

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.

Ben
Top achievements
Rank 1
 answered on 30 Dec 2019
1 answer
281 views
We have added a picture box in Page footer section and place a textbox on top of  that to display page number. When we view the report in Preview mode then Textbox is visible on the image but when we export the report in word then the textbox is missing and only the image is visible. Export to PDF has no issues, and textbox is rendered correctly on the image. Any idea as why this is happening only with word document? 
Todor
Telerik team
 answered on 30 Dec 2019
1 answer
103 views
I have developed an application in C # with MVC5 and I need to make a report with Telerik on this project.
How can I create a report in my application in MVC 5? what are the steps? I've already added some Telerik Reporting references but I don't know where the first step is.
Todor
Telerik team
 answered on 30 Dec 2019
1 answer
409 views

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.

Christopher
Top achievements
Rank 1
 answered on 23 Dec 2019
1 answer
144 views
Few of the sub reports specifically with charts  are not  rendered correctly. This happens when we are trying to load a main report that contains multiple sub reports. Please see the attached screenshots.(Telerik reporting version ->13.0.19.314)
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 23 Dec 2019
1 answer
562 views

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

Ivan Hristov
Telerik team
 answered on 23 Dec 2019
5 answers
363 views

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

 

Nasko
Telerik team
 answered on 23 Dec 2019
2 answers
343 views

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.

Ikhwan
Top achievements
Rank 1
 answered on 22 Dec 2019
1 answer
287 views

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.

Neli
Telerik team
 answered on 20 Dec 2019
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?