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
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?
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).
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.
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.
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(); }
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

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.