Telerik Forums
Reporting Forum
5 answers
164 views
Hi,

I'm just wondering what the road map for the Html5 Report Viewer looks like. Any plans to incorporate the report parameters more like they are in the Asp.Net WebForms Report Viewer?

Thanks,

Rich
Stef
Telerik team
 answered on 30 Aug 2016
1 answer
103 views
How to check sub report have data from the parent report?
Stef
Telerik team
 answered on 30 Aug 2016
1 answer
312 views

Hi,

I am using the code posted here to switch report db at runtime (trdp's designed outside of my application then hosted by http).

http://www.telerik.com/support/kb/reporting/details/changing-the-connection-string-dynamically-according-to-runtime-data

One thing I picked up is that sub-reports are not handled properly, gives an error because the path is not found during this call in 'SetConnectionString' 

subReport.ReportSource = this.UpdateReportSource(subReport.ReportSource);

subReport.ReportSource above will be a simple filename (assuming the sub-report was designed in the same folder as the main report) which means the report file will not be found during deserialization.

I can't post my working routine as it has become too customized but if you're doing this you must ensure that subReport.ReportSource is properly set to a full path before calling UpdateReportSource (or in UpdateReportSource). I hope this helps anyone who has this problem.

 

Stef
Telerik team
 answered on 29 Aug 2016
3 answers
635 views

how to remove space when there is no value on the textbox in the telerik report. I've added a picture for better understanding.

Thanks in advance.

Stef
Telerik team
 answered on 29 Aug 2016
6 answers
379 views
Hi , i used the following code to export report to excel by the code ,
i need the same code to export the report to xps format 


void ExportReport(Telerik.Reporting.Report reportToExport)
       {
           Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
           instanceReportSource.ReportDocument = reportToExport;
           ReportProcessor reportProcessor = new ReportProcessor();
           RenderingResult result = reportProcessor.RenderReport("XLSX", instanceReportSource, null);
 
           string fileName = result.DocumentName + "." + result.Extension;
 
           Response.Clear();
           Response.ContentType = result.MimeType;
           Response.Cache.SetCacheability(HttpCacheability.Private);
           Response.Expires = -1;
           Response.Buffer = true;
 
           Response.AddHeader("Content-Disposition",
                              string.Format("{0};FileName=\"{1}\"",
                                            "attachment",
                                            fileName));
 
           Response.BinaryWrite(result.DocumentBytes);
           Response.End();
       }
}
Katia
Telerik team
 answered on 29 Aug 2016
3 answers
1.6K+ views

Hello. I have a really long detail section containing mostly textboxes and tables, but most of the fields have some visibility rules. However, only like half of the fields are usually visible in a single report. When exported to pdf, every other page is blank (ofc with header and footer) and there are some blank pages in the end as well. Every report creates the same amount of pages. This is probably related to the height of the detail section. I have read many forum threads as well as http://www.telerik.com/support/kb/reporting/details/problem-telerik-reporting-renders-blank-pages but I am still not able to solve this problem. The detail section has "KeepTogether" set to false. Is there any solution to this problem?

Thank you

Katia
Telerik team
 answered on 29 Aug 2016
3 answers
182 views

Hi Telerik Support Team,

I have set the report parameter section position to bottom of report viewer control.

Is there any way for me to show report parameter in bottom.

Thanks & Regards,

Premraj S.

Stef
Telerik team
 answered on 29 Aug 2016
10 answers
599 views
Hello. I have a detail section which at one point consists of a list item (binded to an array of strings) that has just one textbox. The text in the textbox is usually very long and has to be printed on more pages. Every new string begins on a new page, what is fine to me, however, I need the very first string not to start on the new page (I need it to be right after the previous items in the detail section). Is there a way to do this? I cant use subreports (I used it and it worked fine, but there are other reasons why they cannot be used). Thank you :)
Jan
Top achievements
Rank 1
 answered on 26 Aug 2016
3 answers
202 views

I apologize if I missed this in the documentation or forums, but I can't seem to find any solid information on using a graph with custom visuals in Telerik Reporting. I see an example of custom visuals using the Drawing API. 

https://demos.telerik.com/kendo-ui/bar-charts/visuals

How can I use this custom graph or another in a Telerik Report? Is it possible? I would prefer to use Visual Studio over the standalone reporting tool.

Thanks,
AJ

Stef
Telerik team
 answered on 26 Aug 2016
5 answers
85 views

Hello, after I have updated WPF Controls and Telerik.Reporting libraries from Q2 2014 to Q1 2016 (WPF NoXAML 2016 Q1), I can't see any data in my reports (except table headers). But there are some errors in output window:

*** ProcessReport #0 STARTED ***
Exception thrown: 'System.OperationCanceledException' in mscorlib.dll
Exception thrown: 'System.OperationCanceledException' in Telerik.Reporting.dll
Exception thrown: 'System.OperationCanceledException' in Telerik.Reporting.dll
*** ProcessReport #0 DONE in 00:00:00.1307766 ***

In my code I do something like this:

var reportSource = new InstanceReportSource {ReportDocument = rep};
reportview.ReportSource = reportSource;
reportview.RefreshReport();

 

Please help me to solve this problem! Thanks

Stef
Telerik team
 answered on 26 Aug 2016
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?