Telerik Forums
Reporting Forum
6 answers
215 views

Hello,

 

I'm trying to implement the HTML5 report viewer into my angular application. However during packages installation I get the following warnings:

npm WARN @progress/telerik-angular-report-viewer@3.18.323 requires a peer of @angular/common@^4.0.0 but none is installed. You must install peer dependencies yourself.

npm WARN @progress/telerik-angular-report-viewer@3.18.323 requires a peer of @angular/core@^4.0.0 but none is installed. You must install peer dependencies yourself.

My verions on @angular/common and @angular/core is 5.2.5. Is there any compatibility issue? What are my options now (beside downgrading angular version)?

 

Best regards,

Marcin

Silviya
Telerik team
 answered on 12 Sep 2018
2 answers
315 views

I am using kendo reporting v 11.x. and MS SQL Server 2016.

Firstly, I created a stored procedure that returns a list of person.

Then, I created a simple blank kendo report using visual studio 2017.

Inside the report, I then created a from the kendo reporting toolbox.

Lastly, I selected the stored procedure and dragged a table using the toolbox and then I opened data explorer dragged the field names from the data source.

Please take a look at the attached files. 

the design tab as shown in the picture my procedure is called multiple times. I verified this by writing an insert query on my procedure. , I click the design time, I could see the data getting inserted multiple times

My procedure:

Alter PROCEDURE SpPersonSel

AS
BEGIN

SET NOCOUNT ON;

INSERT INTO .Test
    (
        [Name]
    )
    VALUES
    (
        'abc'  -- Name - varchar(50)
    )
   SELECT p.* FROM dbo.Person AS p
END
GO

 

Todor
Telerik team
 answered on 12 Sep 2018
2 answers
138 views

Hi,

when using the choropleth map wizard and select range grouping = EqualInterval.

Is there a way to control the number that is instead of 4560 - 10599, to be changed to 4500 - 10 600.

I hope to get help soon.

Regards.

Omar
Top achievements
Rank 1
 answered on 12 Sep 2018
15 answers
1.8K+ views
hi ,

i need to create a report which has a couple of drop downs as parameter(filters). each drop down is populated through calling a stored procedure.
my problem is that when i create a dataset and bind it to my drop down and when i add those drop downs to my telerik report, the drop downs won't be populated. do you know why?
is this doable at all using telerik report to have dynamic drop down parameters?

thanks
zahra
JOSE
Top achievements
Rank 1
 answered on 11 Sep 2018
1 answer
215 views
Hello Sir, how to apply Themes for Winform Report Viewer? I cant find any properties to apply theme for this control. Please see picture attachment. Thank you and sorry for my poor English.
Silviya
Telerik team
 answered on 11 Sep 2018
1 answer
524 views

Dear all,

            When I generate only Export PDF is available. Even I set the config of and to true. Here is my config in web config.

<configSections>
    <section name="Telerik.Reporting" type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting, Version=8.2.14.1027, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE" allowLocation="true" allowDefinition="Everywhere" />
  </configSections>

 

<Telerik.Reporting>
<AssemblyReferences>
<add name="BusinessObject.Client" version="1.0.0.0" />
                        <add name="BusinessObject.Client" version="1.0.0.0" />
</AssemblyReferences>
    <Extensions>
      <Render>
        <Extension name="PDF" visible="true"></Extension>
        <Extension name="XLS" visible="false"></Extension>
        <Extension name="CSV" visible="false"></Extension>
        <Extension name="RTF" visible="false"></Extension>
        <Extension name="XPS" visible="false"></Extension>
        <Extension name="DOCX" visible="true"></Extension>
        <Extension name="XLSX" visible="true"></Extension>
        <Extension name="PPTX" visible="false"></Extension>
        <Extension name="MHTML" visible="false"></Extension>
        <Extension name="IMAGE" visible="false"></Extension>
        <Extension name="HTML5" visible="false"></Extension>
        <Extension name="HTML5Interactive" visible="false"></Extension>
      </Render>
    </Extensions>
  </Telerik.Reporting>

 

Silviya
Telerik team
 answered on 11 Sep 2018
1 answer
125 views

We are creating a report using visual studio 2017 for an MVC5 application and want to display the report toolbar for the end user. It works for demo reports but when we create one from scratch, it does not appear. So far we have been able to display the report, but toolbar does not appear. Is there any configuration needed in order to get the required result?

 

 

Claudio
Top achievements
Rank 1
 answered on 10 Sep 2018
5 answers
274 views

I have a table in my report header (since my datasource is bound to the report). The cells in the row of the table all have conditional formatting to give the table a striping effect. The number of columns in the table will differ based on a parameter of the report. However, in the case when I have two of the columns (that are right next to each other) hide at the same time, there is a slight vertical line (maybe 1px?) that appears. Is this a known bug or am I maybe doing something wrong?

I've attached three screenshots:

1. The design mode
2. A correct rendering where the line didn't appear (and no hiding was taking place)
3. An incorrect rendering where the line is appearing (and the hiding is occurring)

I am using conditional formatting to control the visibility of these fields. They are all set to Visible = True and then the conditional formatting sets the visibility through the Layout section.

 

 

Ivan Hristov
Telerik team
 answered on 10 Sep 2018
2 answers
597 views

Hello,
we've integrated HTML 5 Report Viewer in our solution in a ASP.NET 3.5 Web Site and the Reporting Service is hosted in a separated REST endpoint (.NET 4.6.2) using libraries downloaded from Telerik Private NuGet server.
The REST enpoint implement Basic Authentication with a Bearer token retrieved from an our external REST endpoint.

The report viewer works well with authentication but after Print operation require authentication from the browser.
I see the same behaviour in Google Chrome, Opera.
How can I remove the authentication box for printing report?
Monitoring the HTTP traffic with Fiddler I see that the HTTP request for printing don't pass authentication token as previous calls (Request headers -> Security -> Authorization).

I've tried various configuration for print mode:

  • FORCE_PDF_PLUGIN (as below): Download directly the file and after open it starts the print process.
  • FORCE_PDF_FILE: Show an authentication box in the browser
  • AUTO_SELECT: Show an authentication box in the browser 

The authentication token is retrieved and setted in the Page_Load event in the ASP.NET page that host the HTML 5 Viewer.

01.<script type="text/javascript">
02. 
03.        function onPageReady(e) {
04.            console.log("page ready" + JSON.stringify(e));
05.        }
06. 
07.        function onExportBegin(e) {
08.            console.log("export begin" + JSON.stringify(e));
09.        }
10. 
11.        function onPrintBegin(e) {
12.            console.log("print begin" + JSON.stringify(e));
13.        }
14. 
15.        $(document).ready(function () {
16. 
17.            var reportParams = <%= GetJsonParameters() %>
18. 
19.            $("#reportViewerMain")
20.                .telerik_ReportViewer({
21.                    serviceUrl: "<%= GetUrlReportingApi() %>",
22.                    templateUrl: "<%= GetTemplateUrl() %>",
23.                    authenticationToken: "<%= GetUserToken() %>",
24.                    reportSource: {
25.                        report: "<%= GetIdReport() %>",
26.                        parameters: reportParams
27.                    },
28.                    viewMode: telerikReportViewer.ViewModes.INTERACTIVE,
29.                    scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
30.                    printMode: telerikReportViewer.PrintModes.FORCE_PDF_PLUGIN,
31.                    scale: 1.0,
32.                    pageReady: onPageReady,
33.                    exportBegin: onExportBegin,
34.                    printBegin: onPrintBegin,
35.                    error: function (e, args) {
36.                        console.error("Report viewer error: " + args);
37.                    }
38.                });
39.            $("#reportViewerMain").height(window.innerHeight);
40.        });
41.    </script>

 

Telerik version: 12.1.18.620 (Runtime: v4.0.30319)

IDE version: Visual Studio 2017 Enterprise version 15.8.2

 

Can you help me?

Thanks.

 Best regards.

 Fabio

 

Davide Coletto
Top achievements
Rank 1
 answered on 10 Sep 2018
1 answer
467 views

Hi All

 

I have a report book that contains only a single report type but multiple instances of it.

Currently when printed out it show one report instance per page, but each report instance can grow/shrink so may not take up an entire page..

Is there a way of (other than using a subreport in a panel) to allow all the reports to squish up together, taking up less pages??

 

Cheers

Ade

Todor
Telerik team
 answered on 10 Sep 2018
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?