Telerik Forums
Reporting Forum
3 answers
561 views
I have a report that has anywhere from 1 to 6 pages depending upon the amount of data. At the very last page, at the very bottom of that last page, I need to do some summary data.

I tried the footer, but that showed up at the bottom of every page. I tried group footer, but that just showed up at the end ot the group--which sometimes was at the top or middle of the page. Any thoughts of how I could accomplish this?
Squall
Top achievements
Rank 1
 answered on 11 Apr 2013
9 answers
1.4K+ views

How can I pass the datasource to a subreport from a page?

Ex: "ReportViewer1.Report.SubReport.DataSource = ds"

[]'s

Henrique

Arun
Top achievements
Rank 1
 answered on 10 Apr 2013
2 answers
181 views
Hi

I have a report of a some complex nature, in which a bunch of subreports and/or sections are included inside the detail section.  The problem is that the report starts showing detail section data on the second page.  Quite obviously the solution for this problem would be to set the KeepTogether property to false on the detail section (I have them already on each sub report object) but I cannot be done in such section.

How could I achieve the detail section dividing so data gets display on the first page?

Any suggestions would be appreciated!

Neftali Figueroa
nfigueroa
Top achievements
Rank 1
 answered on 10 Apr 2013
1 answer
64 views
Hi,
I have several textboxes in the report. They are all set CanGrow according to the amount of text inside them.But there is a problem in it.
When the text is long, the text  will overstep boundary of the textbox. But the textbox actually has grown, like the following picture.

Any known issues or pointers to what the problem may be?

Regards
Milen | Product Manager @DX
Telerik team
 answered on 10 Apr 2013
1 answer
46 views
Bug: When using the telerik Report Viewer in web forms and viewing that page in Internet Explorer the area where it shows the textbox for the Current page of #Total pages.  When on the first page it will wrap the "of XX" to the next line until you either highlight the text or go to the next page.  It's a minor cosmetic bug that was really driving my QA folks nuts.

Workaround fix: To fix this bug I added the following style

.PageNumberText
{
    white-space:nowrap !important;
}

You need to use !important to make sure it overrides any of Telerik's built in styles.

Hopefully, this minor issue is corrected in the future.
Stef
Telerik team
 answered on 10 Apr 2013
3 answers
106 views
my client has a suite of programs which support a semi-annual trade show
the show has an ordering component
the customers can order product before the show, then can order more at the show
there are reports for both customers and the booth personnel (sellers), which show activity both ordered online before the show and what was ordered at the show
if the customer attends the show and orders that order replaces the online (at each booth they visit)
since the requirement is to show all online activity as well as all show floor purchases the total at the bottom cannot be a sum of both, because of the overlap
anyway, the reports basically look like this

Show Activity
first store,booth,department, etc
next store,booth,department, etc
total show activity

Pre-show orders
first store,booth,department, etc
next store,booth,department, etc
total pre-show activity

any ideas on how to show sum show activity + all pre-show that has not been supplanted?
Stef
Telerik team
 answered on 10 Apr 2013
1 answer
86 views
Hello!

We have a SL 4 application.

With the Reporting version I am using (Telerik.Reporting 6.0.12.215), generating a report causes this exception in the Preview:
The service Telerik.Reporting.Design.Interfaces.IRootDesignerPresenter already exists in the service container. Parameter name: serviceType 

I've searched the Telerik forums for such error, and it has been adviced to download latest builds. However, since the latest version of the RadControls (Report Viewer) is SL5, I am unsure which versions to install (advised builds are not available for download at this moment).

What is the version connection between RadControls (specifically ReportViewer control) and Telerik Reporting version? In other words, what are the latest downloadable SL4 build of RadControls and the latest version of Reporting that will work together without problems?

Thanks
Yuliyana
Telerik team
 answered on 10 Apr 2013
6 answers
219 views
Hi,
Earlier we are using Telerik 2008 and we programatically creating lines and adding to Page header. recently we upgraded to 2012 Q2 Telerik reporting and form that time onwards we are not seeing the lines. Please see the code below

if

 

 

(i == 0 || i == 2 || i == 4 || i == 6 || i == 8 || i == 10)

 

{

labelwidthX = 0.1;

labelvalwidthY = 1.4 + 0.4 * (i / 2);

 

 

Shape shape = new Shape();

 

shape.Location =

 

new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(labelvalwidthY + 0.25, Telerik.Reporting.Drawing.UnitType.Inch));

 

shape.ShapeType =

 

new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW);

 

shape.Size =

 

new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.099921144545078278, Telerik.Reporting.Drawing.UnitType.Inch));

 

shape.Style.BorderStyle.Default = Telerik.Reporting.Drawing.

 

BorderType.None;

 

shape.Style.Font.Bold =

 

true;

 

 

 

this.pageHeader.Items.Add(shape);

 

}
and we did small code change in export to PDF because of new dlls throwing error. here is the code

 

 

 

void ExportToPDF(ReportBook reportToExport)

 

{

InstanceReportSource instanceReportSource =

 

new InstanceReportSource();

 

instanceReportSource.ReportDocument = reportToExport;

ReportProcessor reportProcessor =

 

new ReportProcessor();

 

 

 

//RenderingResult result = reportProcessor.RenderReport("PDF", reportToExport, null);

 

 

 

 

RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);

 

 

 

string fileName = result.DocumentName + ".pdf";

 

Response.Clear();

Response.ContentType = result.MimeType;

Response.Cache.SetCacheability(HttpCacheability.Private);

Response.Expires = -1;

Response.Buffer =

 

true;

 

Response.AddHeader(

 

"Content-Disposition",

 

 

 

string.Format("inline;FileName=\"{1}\"",

 

 

 

"attachment",

 

fileName));

Response.BinaryWrite(result.DocumentBytes);

Response.End();

}

Ruby
Top achievements
Rank 1
 answered on 09 Apr 2013
14 answers
832 views
Good day,

I'm having a problem with Telerik Reporting Q1 2013 v 7.0.13.220 that I just upgraded to.

I'm getting an error that says 'Telerik.Reporting.Data.Grouping is not defined' for all of my reports. I'm using the Telerik.Web.UI Ajax control set 2013.1.220.40.

I have not changed the reports at all. All I did was upgrade.

Is this a known issue? Should I go back to Q3 2012?

Thanks in advance,
Jonathan
Dennis
Top achievements
Rank 2
 answered on 09 Apr 2013
4 answers
323 views
I am testing the ability to have the same chart (i.e. pie or bar) display summary data per group level.

For example, I want to display the gender percentages by Agency, then by Site, then by Class.  I have created a report with groups on each of these values.  However, the pie charts that I created show the same data on each level.  I have one SQL database datasource that provides the values.  I am using the Report Designer for Reporting Q1 2013

I am new to this and would appreciate any help.

Thanks,
Jennifer
Jennifer
Top achievements
Rank 1
 answered on 09 Apr 2013
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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?