Telerik Forums
Reporting Forum
4 answers
317 views
Hello,

how can I make duplicate of pages in Telerik Reporting?
The report is showing one page, which is good, but I'd like an exact copy of the first page, as the second page. Can this be done in an easy step? Or will it be faster to just copy/paste all the page contents(in designer) so that 2 pages will appear?

Best regards,
Thomas
Patrick Saunders
Top achievements
Rank 1
 answered on 05 Dec 2011
1 answer
217 views
Hi, 

I'm creating a report in which I need to display a list of point, I've categories and subcategories. 

I looked at your ProductSales report, which seems to do almost the same thing that I need, but it's not the case:

In my case, I've a collection of Categories, which have a proprty that is a collection of subcategories:

List<Category>
\-->Category
        \-->List<SubCategory>
                \-->SubCategory

And in yours, you have only one object which contains all elements.

I can do a "Group", but I will only have one Item per group(the Category), and I can't display the subGroup in the same table. So how should I do this?

Another problem:
I've a "business key" for both category and subcategory, it's on this key that I can Group, and I need them on the same collumn, I also didn't found this.

It's one of the last piece I miss to create 20+ reports, so I will really be happy if you can explain me how I should do this.

Maybe it's more explicit if I give you a screenshot of what I'm hopping to do with telerik Screenshot of the hopped result

Elian
Telerik team
 answered on 02 Dec 2011
1 answer
166 views
I'm new to all of this and I"m just trying to add the report viewer into LIghtSwitch.

Is this up to date?
How To: Telerik Reporting in Microsoft LightSwitch Beta 2

I get to the place of adding the reference in the report viewer control. The example shows this:

Example

I'm getting this:

My Screenshot


I'm using Reporting Q3 2011


Elian
Telerik team
 answered on 02 Dec 2011
14 answers
961 views
Hi,

when i used telerik reporting when the records are less we are not getting the bottom border.

same way we are not getting the right border also.

 please find the screenshot.


In our application we are using Reports.
In that we've using sub reports. In Sub Report  while exporting to excel its works fine
but when we merge that report in Main report ,then export to excel its Showing error -"Error.Png". 


Pls have a glance on the attached snapshots and provide me some solution.


Thanks & Regards,
Karthik
Squall
Top achievements
Rank 1
 answered on 02 Dec 2011
1 answer
97 views

I am having a problem with my syntax when I try to use a Bitwise operation.

 

= iif(Fields.test Or 256,’true’,’false’)

I am getting an Type mismatch on ‘Or’ 

What am I doing wrong?

Thanks, Dan

Elian
Telerik team
 answered on 02 Dec 2011
1 answer
170 views
Hi,


I have a telerik reportViewer in which i´m displaying an invoice preview before the client can save or print the PDF file, this invoice report contains a textbox in wich I display a very long encrypted string with no spaces in it, the problem comes when the reportviewer renders the report, this textbox grows horizontally and messes up the whole report, is like it´s not respecting the margins.


It´s weird because when I save or print the file, it displays just fine.


I´m attaching both: reportOnViewer and reportAfterSave
Peter
Telerik team
 answered on 02 Dec 2011
5 answers
218 views
Hello,
it's possibile to set somewhere some metadata? I wish to add in exported pdf the number of page and an id that an external tool will process..
it's possible?
Thanks
Paolo
Steve
Telerik team
 answered on 02 Dec 2011
2 answers
608 views
I am getting an object reference error when trying to display my report. I get this error only after I upgrading to the latest version Q3 2011 (5.3.11.1116).  

With no code changes at all I can down grade to version Q2 2011 SP1 (5.1.11.928) and the report works just fine.

Here is the stack I receive in the Output window while debugging...

*** RenderReport #0 STARTED ***
An error has occurred while rendering the report: System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Reporting.Processing.LayoutEngine.LayoutAnchoredItem(ILayoutItem item, RectangleU rect)
   at Telerik.Reporting.Processing.LayoutEngine.Layout(ILayoutContainer container)
   at Telerik.Reporting.Processing.ReportSectionBase.Measure(MeasureDirection dir, Graphics graphics)
   at Telerik.Reporting.Processing.PageSection.Measure(MeasureDirection dir, Graphics graphics)
   at Telerik.Reporting.Processing.ProcessingElement.MeasureElement(MeasureDirection dir, Graphics graphics)
   at Telerik.Reporting.Processing.Report.MeasureElement(ProcessingElement elementToMeasure)
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.GetMaxPageSectionWidth()
   at Telerik.Reporting.Paging.PageCompositionBase.SetCurrentWidthCore()
   at Telerik.Reporting.Paging.PageCompositionBase.set_CurrentPageArea(PageArea value)
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.PrepareNewPage()
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.NextUsableArea()
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.NextVerticalPage()
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.PageOverride()
   at Telerik.Reporting.Paging.PagerBase.Page(IPageHandler handler, Report report)
   at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingInfo, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
*** RenderReport #0 DONE in 00:00:00.0302191 ***


WinViewer> An error has occurred while rendering a report:
The thread 'Rendering' (0x2ee0) has exited with code 0 (0x0).
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Reporting.Processing.LayoutEngine.LayoutAnchoredItem(ILayoutItem item, RectangleU rect)
   at Telerik.Reporting.Processing.LayoutEngine.Layout(ILayoutContainer container)
   at Telerik.Reporting.Processing.ReportSectionBase.Measure(MeasureDirection dir, Graphics graphics)
   at Telerik.Reporting.Processing.PageSection.Measure(MeasureDirection dir, Graphics graphics)
   at Telerik.Reporting.Processing.ProcessingElement.MeasureElement(MeasureDirection dir, Graphics graphics)
   at Telerik.Reporting.Processing.Report.MeasureElement(ProcessingElement elementToMeasure)
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.GetMaxPageSectionWidth()
   at Telerik.Reporting.Paging.PageCompositionBase.SetCurrentWidthCore()
   at Telerik.Reporting.Paging.PageCompositionBase.set_CurrentPageArea(PageArea value)
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.PrepareNewPage()
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.NextUsableArea()
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.NextVerticalPage()
   at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.PageOverride()
   at Telerik.Reporting.Paging.PagerBase.Page(IPageHandler handler, Report report)
   at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingInfo, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderCore(String format, IList`1 reports, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback)
   at Telerik.ReportViewer.Common.ReportRenderer.Render(ReportRendererArgs args)

Shonda
Top achievements
Rank 1
 answered on 02 Dec 2011
5 answers
413 views
Hi,

I'm currently using a report viewer to show different report. The list of report that can be show is in a comboBox. When I clicked on the button "preview", the reportViewer will show the selected item in the comboBox. I notice that if I click many times on the button preview when the report selected is the same, a error appears. Don't know if it is something wrong I'm doing or what, but here is the error that I received :

Server Error in '/' Application


Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

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:

[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
   System.Collections.Generic.List`1.get_Item(Int32 index) +12732076
   Telerik.ReportViewer.WebForms.StreamManager.GetPageStream(Int32 index) +89
   Telerik.ReportViewer.WebForms.ReportPageOperation.WriteHtmlPage(StreamManager streamManager, Int32 pageIndex) +94
   Telerik.ReportViewer.WebForms.ReportPageOperation.WriteHtmlPage(Int32 pageIndex) +79
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperationOverride() +103
   Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(HttpContext context, ICacheManager cacheManager) +115
   Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context) +415
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

Anyone know what it mean ? 
Thank you

David
Fandy Backers
Top achievements
Rank 2
 answered on 02 Dec 2011
1 answer
60 views
Having trouble figuring this out. What I want is fairly simple, I have a report where all of the data is in metric units. I need to give the user the ability to switch to SI units as sometimes they need to export the data in metric, and other times they need to export the data in SI units.
Elian
Telerik team
 answered on 01 Dec 2011
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?