Telerik Forums
Reporting Forum
3 answers
249 views
Does anyone having same issues ? 

Any help to fix it is highly appreciated.

Thanks
Steve
Telerik team
 answered on 08 May 2012
0 answers
97 views
Hello
I want to use a wcf service as my report data source
this is what i do
1. Refrence wcf service in library
2. Refrence library to silverlight application
3. Refrence wcf service to silverlight application
4. use wcf telerik report(Hosing WCF Service in IIS)and a report viewer in xaml
but in run time i get a blank report
is there any way that i use a wcf service (no RIA service ) as report data source?
thanks for mention



Ww
Top achievements
Rank 1
 asked on 08 May 2012
3 answers
261 views

I'm passing a report an array of guids converted to strings, into a multivalue parameter. My question, is how do I now get the report to pass that to my SQL query? The query looks like this:

SELECT        Name, Address, Address2, City, State, Zip, Phone, PrimaryContact, ExpirationDate
FROM            Companies
WHERE        (ID IN (@Companies))

Thanks

Peter
Telerik team
 answered on 08 May 2012
5 answers
120 views

Dear Telerik team,
 
I am using Telerik report Q2 2011 (5.1.11.713)  . how do i apply localization to the silverlight report viewer. 

Thanks,
Kiran 
Steve
Telerik team
 answered on 08 May 2012
1 answer
503 views

Hello,

I run into the following .Net exception that seems to be triggered from the Telerik Reporting engine: "Unhandled exception, filepath [Telerik.ReportViewer.axd]System.InvalidOperationException: Invalid image data. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+." Maybe someone has seen this before? Looks a bit related to this problem.

The problem seems specifically to occur when I render a textbox control that is rotated for 90 degrees, so with vertical text rendering. Also the problem only occurs during HTML rendering, for example PDF rendering is no problem. It seems that vertical text in html gets rendered as an image. The GDI+ exception occurs when this textbox is rendered. It also seems to be related to bigger data amounts, having reports with at least 50 pages.

Googling for a solution it seems that this exception often occurs:

  1. Because of a rights issue when output is written to a file directory. This does not seem to be likely since I choose to render entirely in memory.
  2. The generated bitmap is not properly disposed. This would be something in the Telerik rendering engine and is out of my control.

    Some more background:

In our app we do generate the report layout programmatically and I have not been able to reproduce this problem using a report generated with the report builder. I also logged a support ticket for this issue but the response was "please send a sample project." Unfortunately I was not able to reproduce the problem in a sample project. I'll keep you posted when I get a solution from Telerik though.

Stack trace:

[5232] 24-4-2012 12:10:02 [12:10:02] Unhandled exception, filepath [/Florin/Telerik.ReportViewer.axd]System.InvalidOperationException: Invalid image data. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
    at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
    at Telerik.Reporting.Processing.Imaging.ImageUtils.SaveBitmap(Stream stream, Image image)
    at Telerik.Reporting.Processing.Imaging.ImageUtils.ResolveImage(Image image)
    at Telerik.Reporting.Processing.Imaging.ImageUtils.GetImageData(Object value)
    --- End of inner exception stack trace ---
    at Telerik.Reporting.Processing.Imaging.ImageUtils.GetImageData(Object value)
    at Telerik.Reporting.Processing.Imaging.ImageContainer..ctor(Object value)
    at Telerik.Reporting.HtmlRendering2.Common.Writers.ImageWriter.SaveImageInStream(Image image)
    at Telerik.Reporting.HtmlRendering2.Common.Writers.RotatedTextElement.WriteImage(Image image, Single imageWidth, Single imageHeight, Single left, Single top)
    at Telerik.Reporting.HtmlRendering2.Common.Writers.RotatedTextElement.WriteElement(ProcessingElement element, RectangleF writeTextRectangle, RectangleF imageRectangle)
    at Telerik.Reporting.HtmlRendering2.Common.Writers.RotatedTextElement.End(ProcessingElement element, ElementPageInfo pageInfo)
    at Telerik.Reporting.Paging.PageElementLayer.AddToPage(IPageHandler handler)
    at Telerik.Reporting.Paging.PageElementManager.AddToPage(IPageHandler handler)
    at Telerik.Reporting.Paging.PageCompositionBase.SendPhysicalPages(Boolean lastPage)
    at Telerik.Reporting.Paging.InteractiveLayout.PageComposition.PageOverride()
    at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
    at Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo extensionInfo, IList`1 reports, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback)
    at Telerik.ReportViewer.WebForms.ReportPageOperation.RenderReport(String format, IList`1 processingReports, Hashtable deviceInfo, Hashtable renderingContext)
    at Telerik.ReportViewer.WebForms.ReportRenderOperation.PerformOperationOverride()
    at Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Development
Top achievements
Rank 1
 answered on 08 May 2012
2 answers
112 views
Hi, I have a stored procedure that returns for example, a Company column, SubCompany column and TotalCharges like this:

Company SubCompany TotalCharges
A AA 30
A BB 40
B CC 15
B DD 20

I want a report grouping by Company only and sum of TotalCharges with a GrandTotal like this:

Company TotalCharges
A 70
B 35
Total 105

Is there any way to do it? I can modify my stored procedure to bring this information already from the database, but I want to use the same stored procedure without any change because I'm using it in another report.
I really don't know if I need to use a Table or some other control, I'm new with this sorry!
I'm using Telerik Reporting 5.1.11.928 for a Silverlight Project
Thank you.
Chris Thierry
Top achievements
Rank 1
 answered on 07 May 2012
3 answers
180 views
Hello

I have 2 panels one over the other with 2 texboxes in each.
If the bottom panel exceeds the space left on the current page I need the upper panel stretched its size to the bottom of a page and the bottom one started from the new page.

Could anyone help me please?

Best regards, Yuriy
IvanY
Telerik team
 answered on 07 May 2012
1 answer
102 views
Hi,

I have a Sql query where i have done all my calculations like sum and counts on the fields based on some conditions...all i need now is to display them on telerik control.....But The way i want to repesent them is as in cross tab


                                                x y z
Customer1-Purchase
Customer1-Articles
Customer1-Purchase/Sales


Is there any control that can help me...
IvanY
Telerik team
 answered on 07 May 2012
0 answers
98 views
 is  it possible to reformat the grouping headers in the reports.  The wireframes show the total/counts in-line with the columns.  Telerik by default just separates them with “;”.  If there is an easy way to format that via Telerik.
Raj
Top achievements
Rank 1
 asked on 05 May 2012
5 answers
132 views
We have an internal application that uses EntitySpaces everywhere and we are currently implementing Telerik Reports as it's report engine.

We started using SqlDataSource and rewriting all the queries in ordinary textual SQL which is taking a lot longer than the way we do it with EntitySpaces.

Has anyone used EntitySpaces collections as a datasource in code with Telerik Reports successfully?  
Any hints on the best way of doing it?  Code samples?
rbourque
Top achievements
Rank 1
 answered on 04 May 2012
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?