Telerik Forums
Reporting Forum
1 answer
53 views
A customer requested that the parameters be closer together, instead of being distributed evenly across the entire width of the Report Viewer. Is there a simple way to do this?
Neli
Telerik team
 answered on 30 Oct 2019
23 answers
756 views
This morning, after upgraded my Chrome to version 77, I found out that I could not print any Telerik reporting report.

How to solve it?
Neli
Telerik team
 answered on 29 Oct 2019
1 answer
138 views
Could you please tell me what property is different between the upper left graph and the lower graph.  I want the labels to display the same as the lower one but I a can not seem to locate what field is different.
Neli
Telerik team
 answered on 29 Oct 2019
4 answers
916 views

Is it possible to set ObjectDataSource value at runtime?

 

We're trying to generate PDF's based on reports with data supplied at runtime. The structure of the object will always be the same but the values need to vary as this is supplied to the API.

 

For example:

public IActionResult GetReport(ReportData data)
        {
            var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
            var reportSource = new Telerik.Reporting.UriReportSource();
            var deviceInfo = new System.Collections.Hashtable();
 
            reportSource.Uri = Path.Combine("Reports", "Report.trdp");
             
            // Need to set the value for the objectdatasource here somehow?
 
            Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", reportSource, deviceInfo);
 
            return new FileContentResult(result.DocumentBytes, "application/pdf")
            {
                FileDownloadName = "QuestionnaireReport.pdf"
            };
        }
Nasko
Telerik team
 answered on 29 Oct 2019
1 answer
290 views

I have a report, that shows lots of information on table. The table has many rows, that it takes extra paper. In this case I don't want to show additional rows after row #5(or row #10). 

Question is how to hide those extra rows in Telerik Report Designer?

Nasko
Telerik team
 answered on 28 Oct 2019
1 answer
165 views

Hi,

I'm currently trying out Telerik reporting with Angular and see if it fits best with our .Net Core project. When I tried to add TelerikReportingModule in the app.module file, the existing jquery functions all became undefined. Then I noticed our supposed to be jquery version was overwritten by kendo's version of jquery. Is there a way we cpuld disable this and still be able to use the Telerik Reporting?

Found this link but I couldn't find anything similar for angular / .net core.

 

Thank you!

 

 

 

Todor
Telerik team
 answered on 28 Oct 2019
4 answers
790 views
I have a TextBox that is calculating the difference in days between two dates.

Value: =IIF(Fields.originalshipdate>Fields.revisedshipdate, DateToInt(Fields.originalshipdate), DateToInt(Fields.revisedshipdate)) - DateToInt(now())
Format: {0:0}

public class OECReport : Telerik.Reporting.Report
{
    public static int DateToInt(DateTime date)
    {
        return date.Subtract(new DateTime(1899, 12, 31)).Days;
    }
}

This is returning an integer, in the range of -10 to 20, generally.

I am trying to use Conditional Formatting on this TextBox to Color the background based on the Value.

I've tried several different approaches without success.
----------------------------------------------------------
=ReportItem.Value < =0

Returns:

An error has occured while processing TextBox 'Alert':
Cannot perform '<' operation on System.String and System.Int32.

----------------------------------------------------------
=CInt(ReportItem.Value) < =0

An error has occured while processing TextBox 'Alert':
An error has occured while executing function CInt(). Check InnerException for further information.
------------- InnerException -------------
Exception has been thrown by the target of an invocation.
------------- InnerException -------------
Input string was not in a correct format.

----------------------------------------------------------
=ReportItem.Value < 0

Fires on all rows, regardless of Value.
----------------------------------------------------------

Your help on this matter is appreciated.

Steve
Neli
Telerik team
 answered on 25 Oct 2019
2 answers
817 views

Hello Telerik Team, 

I work with an older version of Telerik Reporting (12.2.18.912) and recently saw that a trial version of a newer version (13.0.19.222) is still installed. 

I had installed it before I got my license. I checked in the Progress Control Panel, if I could uninstall the trial version, and couldn't find how.

The only option I have is to "Update To Purchase".

How could I remove the trial version?

Thank you in advance!

Best regards,
Tamara

Tamara
Top achievements
Rank 1
 answered on 25 Oct 2019
1 answer
213 views

I have an invoicing app that loads data from various sources and shows a balancing report that compares costs, etc...  Once the invoice is balanced and ready to be paid, it is set to approved status.  The problem is that sometimes invoice balancing reports need to be viewed later after processing, and some data may have changed in the interim.  So I would like to snapshot the invoice report when an invoice is set to approved status.

I have found solutions for rendering a report to pdf - those are easy enough to implement, but every request for how to view pdfs with the telerik ReportViewer control has been answered with "it's not supported, and we won't consider supporting it."  So I can export the report to pdf when then invoice is approved, but I have no way to display it to the user.  I could just open up the system pdf viewer, but that creates a weird disjointed experience - if the user selects 5 invoices to view reports and 3 of them are Approved and 2 are Pending, the pending ones will be displayed as part of the same ReportBook in the Winforms ReportViewer, but the other 3 would have to be opened in a separate window with Adobe Reader.  What I really want is to create an Invoice.GetReport() function that returns a ReportSource that encapsulates either a Report to be generated or a saved "frozen" report with the details that existed when the invoice was approved.

Is there any way at all to save a Rendered report (in any format - it doesn't have to be pdf) and then view it at a later time within the same user interface that I am using to display live reports?

Todor
Telerik team
 answered on 24 Oct 2019
3 answers
88 views
When one column goes on too multiple lines, the others get broken borders.  See attachment.
Todor
Telerik team
 answered on 24 Oct 2019
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?