Telerik Forums
Reporting Forum
1 answer
120 views
Hi there,

I get all my data for the reports out of objects and no SQL!
All the objects do have methodes that do return lists of themself (statics) or lists of other ("linked" to this instsance) objects.

simple example:

	class Company
	{
		public string companyname { getset; }
 
		public static List<Company> GetAll()
		{
			List<Company> allCustomers = new List<Company>();
			Company customer = new Company();
			customer.companyname = "Smith & Sons";
			allCustomers.Add(customer);
 
			customer = new Company();
			customer.companyname = "Miller Corp.";
			allCustomers.Add(customer);
 
			customer = new Company();
			customer.companyname = "Clarksons";
			allCustomers.Add(customer);
 
			return allCustomers;
		}
 
 
		public List<Employee> getEmployees()
		{
			List<Employee> employees = new List<Employee>();
			Employee person = new Employee();
			person.name = "Mr." + this.companyname;
			employees.Add(person);
			
			person = new Employee();
			person.name = "Father of " + this.companyname;
			employees.Add(person);
 
			return employees;
		}
	}


So I created two reports (company + employee) and put the second as a subreport into the first.
The main report has as a datasource "Company.getAll" and the subreport "Company.getEmployees".
Now the problem: vor every parent object the method getEmployee" is called (in this example 3 times), but the instance of company is always EMPTY!? not null - all the properties are just blank)
Please have a look at the output attached. There I expected to read "Mr. Smith & Sons", "Father of Smith & Sons", "Mr. Miller Corp." and so on...

Is there a way how I can get the real instance of the parent object into the subreport?

Thanks in advance :-)


David Silveria
Top achievements
Rank 1
 answered on 02 Apr 2012
1 answer
70 views
Dear team,

I need my Report  as of below......

Desc   value location State
PO 45657        
Screap thing 1   value 1 XYZ Korera
Screap thing 2   value2
Screap thing 3   value3 Korera1
       
PO 45658      
Screap thing 4   value 4 Korera
Screap thing 5   value5
Screap thing 6   value6 Korera1


Can u please help me on this..... can u give me an example.
Steve
Telerik team
 answered on 02 Apr 2012
1 answer
227 views

Hi,

I need to implement a Document map to a report as shown in below image fig 1.version.
As of now i am able to get First level of Hierarchy as shown in fig 2. I had used group in detail section and able to get Nos 1,2,3.. under Main. But unable to retreive "Page 1, Page 2.."  under that. 

As like in report if click on  any Nos or Page number, It should redirect to corresponding page.

Please provide a solution or a sample Example

Steve
Telerik team
 answered on 02 Apr 2012
1 answer
78 views
Hi,

 I Want a sample POC like the attached report below.
Can you please send a executable code, So that it'll be helpful for us.

Steve
Telerik team
 answered on 02 Apr 2012
0 answers
57 views
Is it possible to insert data or subreport after pagefooter section ?
Eric
Top achievements
Rank 1
 asked on 02 Apr 2012
2 answers
139 views
How to make title using telerik reporting? I mean title in word document. I need to see style for headers in my document, that is "Heading" and is not "normal". But i can't to do this in telerik. Is there way out of the box to do this?

I need it to parse my document then.
Evgeny
Top achievements
Rank 1
 answered on 02 Apr 2012
0 answers
54 views
Hi all,

Our customer likes the chart report at  http://www.telerik.com/help/reporting/understandingtypesstackedbar.html but I am finding it very hard to mimic the styling. I am styling it using the property grid in Visual Studio and can find my way round this no problem.

Having looked through the sample reports I can't find this particular one, is there sample code for it somewhere or should I just carry on trying to tweak properties here and there?

The skins tab in the report property inspector is not very usable, is this how the style is supposed to be selected? For example, you cannot see what a chart will look like (the previews are not great) and it take quite a few seconds when accessing the tab to populate it.

[Update]
What an idiot I am, the skins dropdown in the property grid works a lot better than the skins tab when you do right click->Properties on the chart itself. Deep Blue is the option I was after.

Regards

Terry
Terry
Top achievements
Rank 1
 asked on 02 Apr 2012
3 answers
92 views
Hi there,

is it possible to design reports using the Visual Studio Designer and then have these reports loaded and printed locally in a Silverlight component?  My scenario is this: I have a Silverlight (SL 4) application.  Users should be able to print content that they input in the application.  Is this possible using the Telerik Reporting?

Best regards

Steve
Telerik team
 answered on 02 Apr 2012
4 answers
326 views
I have a problem to export reportbook to a pdf file. When I use report viewer to review the reportbook, I can see the 2 reports. But when I tried to open them with adobe reader, I got an error.
Steve
Telerik team
 answered on 02 Apr 2012
1 answer
71 views
During export of a report I am attempting to embed documents into an exported word document so the user can double click on the document embedded and it bring up the other document. I can get the list of files to show with no issue but not as an embedded file in the word doc.
Elian
Telerik team
 answered on 02 Apr 2012
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?