Telerik Forums
Reporting Forum
4 answers
103 views
does kendo.ui.Spreadsheet supports picture uploading?   https://docs.telerik.com/kendo-ui/api/javascript/ui/spreadsheet
Dimitar
Telerik team
 answered on 12 Jul 2019
7 answers
1.0K+ views

good morning

When I run a report in this reportViewer generating a cache of information.

When I change the value of information in the database and run the report again, the report is still with the old information.

 

 $("#reportViewer1").telerik_ReportViewer({
            serviceUrl: "api/ReportClient",
            templateUrl: "Content/reports/templates/telerikReportViewerTemplate-9.0.15.324.html",
            reportSource: {
                report: "{ id : 81 }",
                viewMode: telerikReportViewer.ViewModes.PRINT_PREVIEW,
                scaleMode: telerikReportViewer.ScaleModes.FIT_PAGE_WIDTH,
                scale: 1.0,
                PersistSession: false
            }
        });       
    });​

 

//SERVICE

 public class ReportClientController : ReportsControllerBase
    {
        protected override IReportResolver CreateReportResolver()
        {
            return new ClientReportResolver();
        }
        protected override ICache CreateCache()
        {

            var cache =     Telerik.Reporting.Services.Engine.CacheFactory.CreateFileCache(HttpContext.Current.Server.MapPath("~/App_Data/CustomReports/cache"));
    return cache;
        }​

 

I've tried removing the overhead of the method but the reportViewr exisge this overload

 

Iurii
Top achievements
Rank 1
 answered on 11 Jul 2019
5 answers
618 views

How to config expand/Collapse with dynamic parameter when initial load page.

Ex: I have parameters Collapse = True. The report load initial page collapse report But Collapse = False then The report load initial page expand all row in report.

Regards
TruongSon

 

Todor
Telerik team
 answered on 11 Jul 2019
1 answer
208 views

Hi

As i know telerik reporting support PageBreak for Group. But i want to config set pagesize for each page report.

EX: I have 100 row record. I set pagesize = 20 => i have 5 page.

Regard

Truong Son

Todor
Telerik team
 answered on 11 Jul 2019
1 answer
1.2K+ views
Hello Supports,
I want to try and install Nuget packages Telerik.Reporting and Telerik.Reporting.Services.AspNetCore for my Asp.net Core project but it isn't found.
I followed the instructions at this link "https://docs.telerik.com/reporting/html5-report-viewer-asp-net-core-2".
But when I go to the option "Manage Nuget packages", these are no available the packages to download (see the attached file).
Is it missing from the private nuget feed ?
I used https://nuget.telerik.com/nuget as my nuget feed.

Thank you.
Silviya
Telerik team
 answered on 11 Jul 2019
1 answer
132 views

So, I'm binding a DataSource to LINQ query in the ItemDataBinding event. My detail section is generating a member for each item in this list, but *sometimes* the cross tab in the detail section will be completely blank.

The detail section is getting some data -- I have a textbox in it with =Fields.Name that is properly populating 100% of the time. However, the crosstab binding to =ReportItem.DataObject.Name (and any other information relating to this DataObject) is simply blank.

 

Unsure how to diagnose or proceed. Please help!

Silviya
Telerik team
 answered on 11 Jul 2019
1 answer
164 views

I want to be able to change GraphTitle color (within Graph) or any other style property related GraphTitle via binding expression.

 

The problem is the graph object does not expose bindings related to its child Graphtitle.

I have attached a screen shot report, I want to change the GraphTitle color to green if the percentage is higher than 50 else the graph should be red

Neli
Telerik team
 answered on 10 Jul 2019
1 answer
6.7K+ views

Hello Supports,

I want to try and install Nuget packages Telerik.Reporting and Telerik.Reporting.Services.AspNetCore for my Asp.net Core project but it isn't found.
I followed the instructions at this link "https://docs.telerik.com/reporting/html5-report-viewer-asp-net-core-2".

But when I go to the option "Manage Nuget packages", these are no available the packages to download (see the attached file).

Is it missing from the private nuget feed ?

I used https://nuget.telerik.com/nuget as my nuget feed.

Thank you.

Todor
Telerik team
 answered on 10 Jul 2019
5 answers
1.2K+ views

Hello.

 

3 questions :

1) I use ASP.NET MVC Core report (last version).  Everything works fine with the viewer.  Thanks a lot to TELERIK.

I want generate directy a PDF version of the report.  Like user click on a link and the report is downloaded directly.

Can I have some sample to doing this (C#)?

 

2) And how I can use    @(Html.TelerikReporting().ReportViewer() rather javascript :

        $(document).ready(function () {

            $("#reportViewer1")
                .telerik_ReportViewer({

 

 ...TelerikReporting() is always in red.  Nuget missing?  See attachement for the ones in have in my project.

 

3) ReportingEngineConfiguration is misssing in ReportController.  See attachement.

 

 

 

Louis
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 05 Jul 2019
4 answers
661 views

Hello,

I have created an Angular project in which a report is displayed in the Report Viewer, which is loaded by the Report Server.
As described in your example.

I use the option "[reportSource]" to pass the following object:
  "{Report: categoryName / reportName}".

Now I want to change this object to another report and show this.
Unfortunately it did not work that easy.

So I researched the documentation and found out that methods can be run on the viewer.
https://docs.telerik.com/reporting/angular-report-viewer-api-methods

refreshReport() and setReportSource() sounded good and I tried them as they did in your example.

Unfortunately, that did not work either.
In the console came the following errors :

 

My HTML:

01.<button (click)="viewer1.refreshReport()">Refresh</button>
02.<button (click)="viewer1.setReportSource(rs)">setReportSource</button>
03.<button (click)="temp = viewer1.getReportSource()">getReportSource</button>
04. 
05.<pre>{{temp|json}}</pre>
06.<pre>{{reportSource|json}}</pre>
07. 
08.<tr-viewer #viewer1 *ngIf="reportSource"
09.    [containerStyle]="viewerContainerStyle"
10.    [reportServer]="creds"
11.    [viewMode]="'PRINT_PREVIEW'"
12.    [scaleMode]="'SPECIFIC'"
13.    [scale]="1.0"
14.    [reportSource] = "reportSource"
15.></tr-viewer>

 

What am I doing wrong? How can I call another report in the viewer?

Todor
Telerik team
 answered on 05 Jul 2019
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?