Telerik Forums
Reporting Forum
1 answer
185 views

Good Morning,

 

I've have seen in previous posts that with telerik reporting it's possible to create a report a Runtime, passing a object data model.

But reading this post I've seen that this can cause problem and there is not a best solution to create report (the post had been created on 2012 and 2013)

 

Now I want to know if this solution it's advisable or it's better create one report from each model and bind them by the import wizard of telerik report.

 

Thanks

Stef
Telerik team
 answered on 30 Aug 2016
3 answers
244 views

Hello,

 

When I export result in excel(xls) all cell formats are "custom", how can I keep date format on cells where dates are written?

Stef
Telerik team
 answered on 30 Aug 2016
5 answers
184 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
127 views
How to check sub report have data from the parent report?
Stef
Telerik team
 answered on 30 Aug 2016
1 answer
385 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
698 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
426 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.7K+ 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
214 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
687 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
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?