Telerik Forums
Reporting Forum
4 answers
250 views
Hello,


I'm new to the forum, but not new to Telerik. I work for a educational institute that been using telerik reporting for some months.
I have done a few Telerik Reports, but now i face a new problem. I have some Telerik Rad Grids over a Web Page, filled with some datas (Columns and Rows), and i need that information to be put in the Report.
What i did was to creat the same design as the grids on the Reporting, using HtmlTextBox and a Panel. For the grid header i used HtmlTextBox with a fixed Text value, one for each column. For the the data itself, the body from the grid, i used HtmlTextBox with {0} text value, one for each Column, and them, what i do is to put concatenated strings into that field. The Problem is that this gives me so much problem, and so many cases i have to deal with. I'm having to do all treatments on the strings using html, and its not working right.

What i would like to know, is if i can use a Table or Other element, that i can do programmatically a way to add each element on a Row and doesn't matter the text size or word size, the Report will fit it right, and then jump into another Row......

Can you help me out ?
Nomesh
Top achievements
Rank 1
 answered on 20 Dec 2017
2 answers
432 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
183 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
189 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
119 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
84 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
204 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
71 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
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?