Telerik Forums
Reporting Forum
6 answers
1.9K+ 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
277 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
153 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
107 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
250 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
195 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
978 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
4 answers
1.3K+ views
I would like to display "No data available message" for my empty datasource   for a cross tab report and I found this link helpful

http://www.telerik.com/community/forums/reporting/telerik-reporting/conditionally-display-message-if-no-results-found.aspx

But i am not able find where i can do the bindings for the textbox item....has this changed in the new version of telerik reporting..Please guide me... i.e in the  textbox properties->bindings->property path i am not able to find parent.visible....

thank you
Andy
Top achievements
Rank 1
 answered on 04 May 2018
1 answer
8.4K+ views
Hello,

I have Telerik Reporting v2.5.8.519 and have a ReportViewer on a SharePoint page.  I put this on using SharePoint Designer and it is working as it should.

The only problem I have is that I want to resize the ReportViewer to 100% of available space on the screen.  I can set the report height in pixels (i.e., Height="500px") which makes the ReportViewer 500 pixels high.  However, if I put in Height="100%" then the ReportViewer does NOT fill up the screen height.  It only fills up the <div> the ReportView control lives in.

How do I do this?

Thanks,

Randall Price
jguti
Top achievements
Rank 1
 answered on 03 May 2018
0 answers
269 views

HI team

I wanted to know if its possible to change the culture of a report during the rendering process.

 

Say for example you are grouping by Country. When printing a given country the Currency symbol should reflect that of the country.

 

Do you set the culture of all the report items in the lower detail sections (and possibly any child  groups) in the item databinding event. Thats what first came to mind.

 

Some code would be appreciated..

 

Kind Regards

 

Michael

Mike
Top achievements
Rank 1
 asked on 03 May 2018
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?