This is a migrated thread and some comments may be shown as answers.

Telerik report problem.

1 Answer 146 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
swati
Top achievements
Rank 1
swati asked on 21 Feb 2008, 01:03 PM

Hello,

I have following 2 problems in telerik report

  1. I am using Telerik Report 2.0. I have taken one Dataset and 2 tables in that dataset.I want all the fields of these two tables on my report but I am getting only first table of dataset through report wizard. so i want to know how to attach two table of one dataset to Telerik Report and set relation between these two table on report.
  2. I have taken one sub report on my main report. To main report I have attached first table of Dataset. I have another second report and i have attached second table of same dataset to this second report. I want to set second report as a report source to the sub report of First main report but in Report source property of sub report I can't get second report, so i want to know how to set reoprt source of sub report of first main report as second report.

Plz post the comment ASAP.

Thanking You.

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 22 Feb 2008, 05:28 PM
Hi swati,

Thank you for contacting Telerik support.

Telerik Reporting does not support hierarchical data sources out-of-the-box, but there is a workaround - the master-detail report (report with sub-report) where both reports have their DataSource properties initialized to the same data source (the data set with two tables), but the DataMember property of the master-report will be initialized to the master-table when the DataMember property of detail-report will be initialized to the slave-table.

The problem with the report not appearing in the ReportSource property-editor is probably one of following:
  • if both reports (master and detail) are in one project, for example a ClassLibrary, you should build this project in order to see reports inside ReportSource property-editor;
  • if the reports are in different projects then you should create a reference in the master-report's project to the detail-report's project.
Please give a try on given suggestions and let me know if you have any other questions. More information about usage of Telerik Reporting you can find in our documentation, samples and forum.
 

Regards,
Ivan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
swati
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or