Telerik Forums
Reporting Forum
1 answer
129 views

I have a large program with more than 20 reports which has been based on legacy Asp.net Web Forms Viewer.  Given the legacy state of that control I decided to try to tackle the HTML5 viewer.  

I have taken an existing project, forked it.  Added a HTML5 viewer template based solution.  That created a report controller which I had to customize.  I chose to implement a custom resolver and it seems to be working well.  In my development environment it works flawlessly.    When deployed to my production server nothing I do gets it working.  That server is as follows:

IIS 10 on Windows 2016 Server.

The error I keep getting is shown below.  Symptomatically it seems that the routing, again in production only, is not happening.  I have, to the best of my ability, implemented "CORS" although I am not sure I actually require it.  The URL shown below is correct.  I have tried using /Text/FInance/City-Import/api/reports/formats as suggested to no avail.  Again, no routing seems to be happening.

I have tried using Fiddler and Chrome tools to no avail. They provide no clues other than it is not working.

Can anyone aid my troubles with a pointer towards what to look for?  Given my successes on development IIS servers (older vintages), I suspect it might be something I have overlooked.  Hopefully someone has something for me to look it at.

 

(Error message I am fighting)

Cannot access the Reporting REST service. (serviceUrl = '/Test/Finance/City-Import/api/reports/'). Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)

David
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 07 Feb 2021
7 answers
1.2K+ views
Hi, Im sure it is possible, but I don t know how to do it. In designtime a added textboxes containing a label. In my webapplication I want to change the content of this label. When I debug I can see the textbox and its value. But how to reference the textbox in order to change its value.

Any help is appreciated.

Thx
pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 06 Feb 2021
1 answer
241 views

Hello,

 

I need to create a report with 3 pages and each page has to have different watermarks.

How can I achieve this?

 

I create 3 watermarks with following properties:

 1. PrintOnFirstPage - true, PrintOnLastPage - false

 2. PrintOnFirstPage - false, PrintOnLastPage - false

 3. PrintOnFirstPage - false, PrintOnLastPage - true

 

But the result is:

On page 1 there is watermark 1.

On page 3 there is watermark 3.

But on page 2 there are watermarks 1 and 2 which are one over the other.

 

How can i fix this?

 

Thank you in advance!

 

Best regards,

Miroslav Vasilev

Dimitar
Telerik team
 answered on 05 Feb 2021
2 answers
145 views
 Hello. 
I made a pdf report. I have to use bookmarks in this pdf report. When I tested this pdf report on localhost IIS, everything shown correctly in this pdf file (bookmarks, title ... etc.).
When I tried public my applicaion on the production server, I found out that the bookmarks in my pdf report were not shown.
I checked version of my my Telerik.Reporting.dll which is on the server - passed. It is same version as my Telerik.Reporting.dll on my local computer.
Can you advice me, how to fix this problem?
I am clueless ... :-)
Ivan
Top achievements
Rank 1
 answered on 05 Feb 2021
13 answers
1.8K+ views
Hello
Is it possible to insert a pdf into telerik reporting ? I have a set of reports generated using telerik reporting in pdf format and i want to append another generated pdf. Do you have this feature ?
thanks
Johnathan
Top achievements
Rank 1
 answered on 04 Feb 2021
7 answers
1.7K+ views

Hello,

Telerik report is using in our product/application and it was working fine.

But from last few week we got incident from our customer that print button from reportviewer is not working.

Our developer are trying to find put this issue and found this issue is getting from Reportviewer control. Attached screenshot of reportviewer.

We are not getting any error message, onclick on print button nothing happen. Can you please suggest us how we can resolve this issue, as all our customers are raising same issue.

Thanks & Regards,

Shekhar Das

 

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 04 Feb 2021
3 answers
556 views

I create report base on Telerik Reporting Q3 2015 SP1 

my report contain 4 group headers

each data row return on report like  detailsection|group1|group2|group3|group4

report use data return from database only fields that use format number digit or date format in expressions and no calculated field in report

report also use PageCount and PageNumber and 1 logo picture on PageHeaderSection

because this report have to be approved in the same document and data return from database is about 60,000 ~ 100,000 records, number of page about 3500-4000 pages

when I export as pdf it show message system out of memory exception in server side that report deploy in web MVC there is 2gb memory available. 

my question is if export large data perform, how to calculate memory usage and plan to extend memory size on the server, or is there any way that improve my report when export file? 

thank you.

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 04 Feb 2021
3 answers
224 views

I don't know how to solve my issue (to get rid of obsolete methods).

I have reportbook in which I dinamicaly inject diferent reports. Problem is that I'm setting datasource at runtime and not in report. This my code:

var resultMedalistReport = new Result_Medalists { DataSource = someDATA };
resultMedalistReport.ReportParameters["TournamentFullName"].Value = _tournament.Title;
resultMedalistReport.ReportParameters["TournamentDate"].Value = _tournament.DTTournamentStart.ToString( "dd.MM.yyyy" );
resultMedalistReport.ReportParameters["PageTitle"].Value = "Report.Medalists.PageTitle".Localize();
resultMedalistReport.ReportParameters["PageFooter"].Value = cCommon.GetSettingString( groupName: "Report", hashName: "PageFooter" );
 
reportBook.ReportSources.Add( resultMedalistReport ); //this line has implicit conversion that is obsolete.

My problem is I dont know how to use TypeReportSource or something similar so that I can set DataSource of report (its bold letters in code sample)!
Jeroen
Top achievements
Rank 1
Iron
Iron
 answered on 04 Feb 2021
3 answers
391 views

We do business intelligence and a central part of our work is reporting on KPIs.  For the sake of clarity, we define a KPI as an Actual, Target(s), and Comparison Method.  There are usually two Values and an Indicator, like a traffic light, or an arrow pointing in different directions.  Sometimes, there's a Gauge as well.

 

For example, higher is good, the target is a fixed value.  There's also lower is good, going up is good, going down is good, and Goldilocks.  For the Goldilocks comparison method (not too hot, not too cold) we specify a range, and staying in the range is good.

 

For the life of me, I've studied the documentation, and I can't find a KPI Indicator control.  What am I missing?

Cheers, Donna Kelly.

p.s. if you ever use SQL Server Analysis Services Cubes, these are actually built in to the Cube, and feed SQL Server Reporting Services KPIs directly.  This link shows the kind of thing I'm looking for.

 

Todor
Telerik team
 answered on 04 Feb 2021
7 answers
480 views

I have a multi-column report where I want vertical lines between each column of data.  I have noticed that the vertical lines do not extend all the way through the details section but stop at the height of the text box.

How do I get either the text box to grow to the size of each detail row or get the vertical lines to go from the top to the bottom of the detail section?

Todor
Telerik team
 answered on 03 Feb 2021
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?