Telerik Forums
Reporting Forum
1 answer
92 views
Hello,

See the attached files. When i set ColumnHeaderPrintOnEveryPage = true, it prints the header on every page when i export to PDF. Why is it that there is not the same space between the page header and the table header?
Nasko
Telerik team
 answered on 21 Nov 2014
3 answers
109 views
Is there a way of adding a cover page in a Telerik Report only whilst exporting using the Telerik Reporting Web Services? I assume if the answer is no, the only option is to manually handle exports?

Another option, would it be possible to hide pages in the Report Viewer (e.g. the first/cover page) instead?
Stef
Telerik team
 answered on 20 Nov 2014
6 answers
304 views
I have used Telerik reporting service for my silverlight application.In my main report there is a sub-report.Both have own Datasource and I have pass Main report's One Field value as parameter value of Sub-report to get relevant data only.Everything is working fine.Now In case of zero record in Datasource of Sub-Report,I do not want to Display Sub-Report.I have try to make aggregate field(=Count(FieldName) and as per it's value I thought I will be able to know whether want to display report or not.But I am getting TextBox.Value equal to "=Count(FieldName)" inseated of any numeric value. I have use SQL Datasource.Let me know what to do in such scenario?
Nasko
Telerik team
 answered on 20 Nov 2014
4 answers
208 views
Set Default Export from ExportGroup

I want it to default to .pdf so the user does not have to select one each time.

Thanks
Robert
Top achievements
Rank 1
 answered on 19 Nov 2014
1 answer
357 views
I want to make a Group Header invisible when the group field is blank.  In the conditional formatting tool, I selected the correct field, the expression is "=" and I select <blank> for the value in the dropdown list.  I then unchecked the Layout/Visible field.  When the report runs though, the header continues to show even when the field is blank (e.g. ='').  I've tested it with a known value and it does make the header invisible so it seems that it's not detecting the blank value correctly.  What am I doing wrong here?
Brian
Top achievements
Rank 2
 answered on 19 Nov 2014
1 answer
312 views
Hello
I would like to use Report Viewer on SPA application, however based on kendo experience (knowing that I should destroy all kendo widgets, before page change). I wonder if it is possible to d the same with Report Viewer. I couldn't find any destroy method in API.

So is possible to destroy, or is it safe to just leave it and initialize multiple times? Or should I choose 3rd way?

Kind Regards
Marcin
Stef
Telerik team
 answered on 19 Nov 2014
6 answers
1.1K+ views
Hi,

We are using the Telerik Reporting to generate reports within our web application. Details are below. We are currently running the application on Windows Server 2008 R2 (IIS 7.5) and are looking to move the application to Windows Server 2012 (IIS 8). When we generate the report, we get the below.NET exception in the Report window. (I also attached the error in a JPG)

We verified that this is not a SQL exception from our database procedure call. We are even able to Export the report to a PDF and the PDF looks correct (as we would expect the report to display on screen). We have other Telerik controls within the application (mainly the Scheduler control) and that is working in Server 2012/IIS 8 without an issue.

Is this a known issue when using IIS 8? I checked the forums and have not seen another report of the same issue. Let me know if you need any further information. Thanks for your time and help.

Application:
- .NET 2.0
- Telerik.Reporting.dll version : 3.2.9.1211

Arithmetic operation resulted in an overflow.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OverflowException: Arithmetic operation resulted in an overflow.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OverflowException: Arithmetic operation resulted in an overflow.]
   Telerik.Reporting.HtmlRendering.HtmlItemRender.CreateIndexedBitmapUnmanaged(Bitmap colorBitmap) +1399
   Telerik.Reporting.HtmlRendering.HtmlItemRender.CreateIndexedBitmap(Bitmap srcBitmap, ImageFormat& imageFormat, String& extension, String& mimeType) +172
   Telerik.Reporting.HtmlRendering.HtmlItemRender.SaveImageInStream(HtmlRenderingContext context, Bitmap srcBitmap, String& name, String& extension) +61
   Telerik.Reporting.HtmlRendering.ShapeItemRenderer.RenderInternal(ProcessingElement processingElement, HtmlRenderingContext context) +713
   Telerik.Reporting.HtmlRendering.RenderingContext.Render(ReportItemBase item) +74
   Telerik.Reporting.HtmlRendering.Matrix.RenderInternal(HtmlRenderingContext context) +2198
   Telerik.Reporting.HtmlRendering.RenderingContext.Render(ReportItemBase item) +74
   Telerik.Reporting.HtmlRendering.HtmlPage.RenderReportSections(HtmlWriter bodyWriter) +1137
   Telerik.Reporting.HtmlRendering.HtmlPage.RenderBody(HtmlWriter bodyWriter) +326
   Telerik.Reporting.HtmlRendering.HtmlPage.Render(HtmlTextWriter primaryWriter, HtmlRenderingContext renderingContext) +168
   Telerik.Reporting.HtmlRendering.HtmlReport.Render(HtmlTextWriter writer, Int32 startPage, Int32 endPage) +451
   Telerik.Reporting.HtmlRendering.HtmlRenderingExtension.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +214
   Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback) +711
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +630
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WebForms\ServerReport.cs:119
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WebForms\ReportPageOperation.cs:21
   Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WebForms\HttpHandler.cs:73
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
Stef
Telerik team
 answered on 18 Nov 2014
1 answer
307 views
Can there be an option to set the default page number for the HTML5 Report Viewer? (Related to my cover page question) I can get around having the cover page always been part of the report if in the Report Viewer, it shows page 2 by default (instead of Page 1).

For now, I've changed the telerikReportViewer javascript file, but it would be good if this is possible through the API or an option etc

Current Code (Line 1298 of telerikReportviewer-8.1.14.804.js):

if (!navigateToPageOnDocReady) navigateToPageOnDocReady = 1;

Changed to:

if (!navigateToPageOnDocReady) navigateToPageOnDocReady = 2;

Since all reports i'm viewing have a cover page, I can make this change...otherwise include the original JS, or set it to a variable/function/resolver etc.

I've tried using the command goToPage (http://www.telerik.com/help/reporting/html5-report-viewer-reportviewer-properties-commands.html) but it wasn't working, probably because the page wasn't ready loaded yet?

Any help, much appreciated!
Stef
Telerik team
 answered on 17 Nov 2014
3 answers
272 views
I add a reportbook that contains two reports to the report viewer.

when I view them the document map expands the root node by default. is there away to have the default state be collapsed for the root node?
Stef
Telerik team
 answered on 17 Nov 2014
1 answer
117 views
Hi 

I came across this KB article.
http://www.telerik.com/support/kb/reporting/details/font-is-missing-in-report-designers

Is there any update? Can we use OTF fonts or still we need to convert them into True type and use them.

Thanks in advance
Stef
Telerik team
 answered on 17 Nov 2014
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?