Telerik Forums
Reporting Forum
3 answers
565 views
on my report I have a table and header repeats every 4 rows. See example
Silviya
Telerik team
 answered on 10 May 2018
1 answer
846 views

Hi,

 

Im trying to display an image using relative path but with IIF condition.

here is my expression value

this.pictureBox1.Value = "IIf(Fields.StartTime.Hour > 12, images\\sun-o.png , images\\moon-o-png)";

 

but this returns an error saying illegal characters in path.. how do i use the IIF condition to display relative path images.

Silviya
Telerik team
 answered on 10 May 2018
0 answers
281 views

Hello guys,

I'm programmer, and I'm working with telerik reporting in my proyect of visual studio C# 2013. We work for very complex reports, and we generate them programmatically. 

I attach an example of rerpot class ("ReportExample.PNG"), another example when I build this report ("callReport.PNG") and an another example of my function to export PDF ("exportToPDF.PNG").

Normally the reports take a long time to generate in pdf. I suppose that this time in total corresponds to the time it takes to generate the report + time to build the pdf. 

I would like to be able to show a progress bar so that my clients can see the time that the report requires to obtain it. Is there any function within telerik reporting to do this functionality?

Regards

Esemtia Grupo Edebe
Top achievements
Rank 1
 asked on 09 May 2018
6 answers
1.8K+ views
Hi,

We are in trial stage of Telerik reporting. I deployed the CSharp html5 sample in IIS and got "error registering the viewer with the service" error when browsing default.html. Is it due to cross domain issue? But we didn't call web service out of the web application.

Thanks,

Amber
Silviya
Telerik team
 answered on 09 May 2018
2 answers
233 views

I have a pretty simple report with 1 parent group and inside that is 1 child/detail group. 

The child/detail group has a filter on it where depending on parameter selections and field values some records get filtered out.

In some cases all child records within a parent group are getting filtered out, but the parent group still displays.

How can I prevent this parent group from displaying in this case? Is there a setting or a way to build a filter in this way?

Kyle
Top achievements
Rank 2
 answered on 08 May 2018
0 answers
100 views

Hello,

i am using Line graph in my project and in this we show week wise margin. as you can see in the attachment date showing on X Axis is showing date with time i have tried formatting the date on x axis but no luck. it would be helpful to know how can i show only date on x axis on Line Report

 

Kind Regards,

Savan K. Parmar

Savan
Top achievements
Rank 1
 asked on 08 May 2018
1 answer
92 views

I'm currently doing a little proof of concept, but I'm either failing to understand something or I did something wrong.

Here's the code snippet:

class Program
    {
        static void Main(string[] args)
        {
            Telerik.Reporting.Report report = new Telerik.Reporting.Report();
            string selectCommand = @"SELECT * FROM Test.dbo.TestTable"; //Assume that the query works in SQL
            string connectionString = @"Data Source=.\DEVSQL;Initial Catalog=Test;Integrated Security=True;Persist Security Info=True;";
            Telerik.Reporting.SqlDataSource sqlDataSource = new Telerik.Reporting.SqlDataSource(connectionString, selectCommand);
            report.DataSource = sqlDataSource;
            ExportToPDF(report);
        }


        public static void ExportToPDF(Telerik.Reporting.Report reportToExport)
        {
            ReportProcessor reportProcessor = new ReportProcessor();
            Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
            instanceReportSource.ReportDocument = reportToExport;
            RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);

            string fileName = result.DocumentName + "." + result.Extension;
            string path = System.IO.Path.GetTempPath();
            string filePath = System.IO.Path.Combine(path, fileName);

            using (System.IO.FileStream fs = new System.IO.FileStream(filePath, System.IO.FileMode.Create))
            {
                fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
            }
        }

    }

After executing this I get an empty PDF, even though the table has several rows.

Katia
Telerik team
 answered on 08 May 2018
3 answers
222 views

I have two project 

- Project Angular

- Project existing used Dot net core 2.0 (.NET Core and ASP.NET Core 2.0).

Now, I want to use Telerik Report Rest Service. Help me.

Silviya
Telerik team
 answered on 07 May 2018
1 answer
160 views

I have 2 project:

1. Angular (pictrure: 1.JPG)

2. Rest Service

- I used class MyResolver() (pictrure: 2.jpg)

Error function DeserializeReport

Katia
Telerik team
 answered on 07 May 2018
8 answers
896 views
Hello,

I have created a Master report and a sub report. The Master report has a few columns to be displayed. The sub report is displayed adjacent to the last column of the Master report which has another 2 columns such that when previewed it all appears together as if it is a single report. 

The Sub report has a report parameter whose values are displayed based on one of the columns in the Master report called Column A. The report is absolutely working fine!! But, only some of the values of Column A has corresponding values in the Sub report columns. Most of the values in Column A haven't got any corresponding values in the sub report.Even null values doesn't exist in these sub report columns. So, when I try to preview the report, obviously, only the values that exist appear on the Sub report. And the rest of the columns in the Sub report appears blank which doesn't look great.

So,  I would like to have a text displayed in those blank columns of the sub report like " Data not found". Please help me how to proceed further.


Many Thanks,

Haree
Andy
Top achievements
Rank 1
 answered on 04 May 2018
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?