Telerik Forums
Reporting Forum
0 answers
164 views

Hi

I'm development a reports and the reports running fine.

Now I add a new group above the Detail in rptReportTotalPages Groups, and I add the Fields.Customer_Name in Grouping. After that my Action - Sorting stopped the work!

If I remove the variable the Grouping my Action - Sorting work very well, but if I add the variable in Groupin the Action - Sorting not work again!

I tested the Action - Sorting with all Sort targets avaiable, but any option not worked

I see the picture in attached

Could you help with this issue?

Tks

Carlos

Carlos Eduardo
Top achievements
Rank 1
 asked on 12 May 2018
0 answers
173 views

Hello,

I use telerik reporting in a RAD tool. I have a problem using images in reports. When I insert the image into telerik reporting, it gets very large. However, when printing it is the right size.

The problem is that in the preview, before printing, it gets huge. attach some images to facilitate understanding.

 

Thank you

Claudio
Top achievements
Rank 1
Iron
 asked on 12 May 2018
5 answers
994 views

We're using Telerik Winforms (2018.1.220.40) and Telerik Reporting (12.0.18.416). When a computer with Windows High DPI Scaling set to greater then 100% prints a report, the report is tiny and shrunken in the corner of the page.

Due to many of our users using Surface Tablets, this issue is a must fix. Please let us know how to resolve it. I can reproduce the issue with a sample project that with an incredibly simple repor, so it's nothing in our code.

Silviya
Telerik team
 answered on 10 May 2018
3 answers
549 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
826 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
270 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
226 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
94 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
90 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
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
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?