Telerik Forums
Reporting Forum
1 answer
42 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
102 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
80 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
208 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
810 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
307 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
1 answer
420 views
By going into the SqlDataSource item in the Toolbox, I can "edit" an existing data source.

However, you select the existing datasource and it provides a blank query. I would like to, from time to time, alter the query. It seems like I have to recreate it. That is not unmanageable, but it would be nice to be able to alter data parameters and preview the impact on the report.

Am I missing something?
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 09 Apr 2013
1 answer
94 views
Hi, is it possible to export/load template files by code as it could be done with  the Report Designer?

My version is 2013 Q1. 

Cheers

Elian
Telerik team
 answered on 09 Apr 2013
1 answer
156 views
Hi,

I have one doubt,

I am using  telerik reporting version 6.1.12.820.
i have one subreport and one main report. subreport to binding the main report. i am using code below,

  Telerik.Reporting.SubReport subReport2 = (Telerik.Reporting.SubReport)poReport.Items.Find("subReport2", true)[0];
  subReport2.ReportSource.DataSource = pMaster;

it will show error, ('Telerik.Reporting.ReportSource' does not contain a definition for 'DataSource' and no extension method 'DataSource' accepting a first argument of type 'Telerik.Reporting.ReportSource' could be found (are you missing a using directive or an assembly reference?).


Advance Thanks

Stef
Telerik team
 answered on 09 Apr 2013
4 answers
70 views
The general-purpose, stand-alone designer allows a user to choose from all of the possible data sources: SQL, Cube, Object, Entity, and OpenAccess.

I've been creating a custom data source which extends ObjectDataSource, and all reports that a user would use with my tools would be based on this component, and no other.

I'd like to see config-file options that allow us to eliminate the default Data Sources from the UI, and replace them with options which we provide. So for example, under <AssemblyReferences> perhaps we could include an assembly that conformed to an API defined by Telerik, which defines all Data Sources. The code in there might do something like this:

[DataSourceExtender]
public void ModifyDesignerDataSources(Context context) {
  DesignerDataSources sources = context.getDataSources();
  sources.clear();
  sources.add("My Source", "myNameSpace.myClassDerivedFromDataSource");
}


With that, my designer users would never see a SQL data source, for example, they'd only see my source(s).

Does this have any merit?

Thanks.
TonyG
Top achievements
Rank 1
 answered on 08 Apr 2013
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?