Telerik Forums
Reporting Forum
2 answers
392 views

Hi telerik,

 

I've a report view which contains Graph and has been used for a few years since 2015 without problem,

however I encountered an error after upgrading to 2017 R3 saying "lineSeries1 : X value must be null or empty when using Category Style".

I searched here and there as well as report document guide but can't have a tip.

What does that mean? 

Pls refer attached my report design image and let me know what should be changed.

 

TIA

Kang

 

Yonggu Kang
Top achievements
Rank 1
Iron
 answered on 19 Dec 2017
1 answer
159 views

Hi,

The MVC viewer ReportSource Uri will expose the physical path of the report in the html source.Is there a way to hide this info?

 

Uri = Server.MapPath("~/ReportFiles/VehicleMaintenanceReport.trdp")

This would produce the following viewer options in the html:

"report":"D:\\My Documents\\Visual Studio 2013\\Projects\\MyProject\\ReportFiles\\VehicleMaintenanceReport.trdp"

 

Thanks

Madani

Todor
Telerik team
 answered on 18 Dec 2017
1 answer
160 views

Hi,

Could you please help with the issue of double borders as in the attached image.

Thanks

Madani

Silviya
Telerik team
 answered on 18 Dec 2017
6 answers
1.8K+ views
Printing Telerik Reports programatically , Without user interaction.
anybody has idea.


Regards
Sam
Katia
Telerik team
 answered on 18 Dec 2017
0 answers
99 views
Created parameter for column in the database and defined the same parameter name at the Query builder but when trying to pull the data/display data in telerik report from the database for the parameter name  passed to telerik(at the  configure datasource parameter ) it does not dispay any data from the database till I input a value for the parameter in telerik at the  configure datasource parameter. Kindly Assist.
Jacqueline
Top achievements
Rank 1
 asked on 18 Dec 2017
0 answers
76 views
Hello,

I would like to have exactly the same size for every graph. In the image I have attached depends on the number of Data Point Label Connectors. Is that posible? If not, is there any other option?

Thanks.
J
Top achievements
Rank 1
 asked on 15 Dec 2017
0 answers
166 views

We have a WPF form with a grid full of records.  The user chooses the records they want to see on a report.  Once they select the items, how do i then send that collection to be the datasource behind a report so that the selected records display as a report within the Report Viewer control?

I have looked at tons of examples, and tried many different things with no luck.  Please help!!!

Note: I am using 2016 Q1 Reporting.

Chase

Cody
Top achievements
Rank 1
 asked on 15 Dec 2017
17 answers
1.0K+ views
I want to know how to bind a subreport from another subreport from a master report.I have a main report which is a main order which in its detail section there is a subreport of categories which in its detail section there is a fee subreport. This last one is that I'm trying to use as generic control. But I don't know how to bind this control.

Main Report
+ Header
 + Detail Section
   + Categories Sub Report
   + Header
   + Details Section
      + Fee Sub Report
      + Header
      + Detail section
      + Footer
   + Footer
+ Footer

e.g.

Master report
-------------
Category 1
Fee 1 $10
Fee 2 $5
Fee 3 $15
Category 2
Fee 2 $5
Fee 3 $15
Category 3
Fee 4 $50

In my main report (MasterReport) I have in the constructor a LoadData method, after InitializeComponents, that initializes the subreport like this

List<Categories> categories = GetCategories();
CategorySubReport subReport = new CategorySubReport(true);
InstanceReportSource source = new InstanceReportSource();
source.ReportDocument = subReport;
this.catSubReport.ReportSource = source;

Which works well because it lists my categories. But then in the ItemDataBound of the Category Sub Report, I tried to do the same thing for the fee sub report. But the only thing that I got, it's the first list of fees of the category 1 but linked to the last category and the previous categories from the list don't display the fee control.

e.g.

Master report
-------------
Category 1
Category 2
Category 3
Fee 1 $10
Fee 2 $5
Fee 3 $15

Category ItemDataBound from Detail Section

**details_ItemDataBound **

 Telerik.Reporting.Processing.DetailSection detailSection = (Telerik.Reporting.Processing.DetailSection)sender;
Category cat = detailSection.DataObject.RawData as Category;

Telerik.Reporting.SubReport feeSubReport = (Telerik.Reporting.SubReport)detailSection.ItemDefinition.Items.Find("FeeSubReport", false)[0];
Telerik.Reporting.InstanceReportSource source = new Telerik.Reporting.InstanceReportSource();
source.ReportDocument = new FeeSubReport(cat.Fees);
feeSubReport.ReportSource = source;


**FeeSubReport class**

public partial class FeeSubReport : Telerik.Reporting.Report
{
public FeeSubReport(List<Fee> fees)
{
InitializeComponent();
this.DataSource = fees;
}
}

I read that I need to use the NeedDataSource event of the FeeSubReport. So in my CategorySubReport where is placed the FeeSubReport I implemented the NeedDataSource event but it never gets called or triggered. (I don't have a datasource liked to the SubReport) and I don't what exactly to solve this.Before of using this approach, everything was excellent with the Telerik's table control which was bound with the fee collection but I realized that I was using fee tables in many reports duplicating code ...so that's why I decided to create a subreport of fee that I can initialize and reuse but this will be used in many subreport and not in a main report.
Praveen
Top achievements
Rank 1
 answered on 13 Dec 2017
2 answers
51 views

I have Report based on objectDataSource that I use in RadGridView too. We need something like this becouse in Report are more design possibillity as in RadPrintDocument used to print directly from GridView. 

Also tryed to use same list of objects - ok, I can print it perfect. 

Now client wants to use some sortings in GridView. Not bad, sorting from grid can be added to report  datasorce without big problems. Made!

Now client wants to have some filtering: well this can be complicated! I don't know why but filtering is not the same in radGridView and in Reporting (I really don't get it: why must be difference?): but I can make new list and use GridView.MasterTemplate.ChildRows, check if any of them have bound data and add to this new list. And after this in Report will be all showed (sortings I allready have :) )

Now Client wants some groups in grid... mmm...now it seems to be too complicated!

 

Question: How to make my client happy and print RadGridView in Report with all conditions? 

I have read that this is not as usuall but if this is possible, please tell me! I'm open to try any solution! So for now I use RadPrintDocument and make print directly from GridView , but there are some other problems :(

Krasimir
Top achievements
Rank 1
 answered on 12 Dec 2017
4 answers
174 views

We are on the latest version of Telerik Reporting Q3 2011, the version of the ReportViewer is 5.3.11.1116.

I have the following TextBox in the PageFooter of two separate reports.
  Page {PageNumber} of {PageCount}
 
The reports are being combined in a ReportBook, and then presented in a WinFormsReportViewer.
In the Viewer, the pages show the correct {PageNumber} and {PageCount} for all pages in the reports.

When I do an Export to PDF, the PageFooters all show a {PageCount} of 0 (zero).
1 of 0, 2 of 0, 3 of 0 (for as many pages that are in my reports).

What is wrong with the PDF Export?

Jolanta
Top achievements
Rank 1
Veteran
 answered on 12 Dec 2017
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?