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

ObjectDataSource Sample Report?

6 Answers 574 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeff Reinhardt
Top achievements
Rank 1
Jeff Reinhardt asked on 20 Aug 2010, 04:13 PM
I have my own DAL and BLL I want to use with Telerik Reporting but the documentation is vague on using ObjectDataSource and binding it to a report, etc.  Do you have a sample of using a BLL that returns say a DataSet for the report?

6 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 25 Aug 2010, 09:22 AM
Hello Jeff,

There is a whole chapter covering the ObjectDataSource Component and how-to section covering the binding to various supported datasources. For your case (binding to dataset), you should review the How to: Bind to a DataSet help article.
We would appreciate if you elaborate on the vague parts you refer to, so we can improve the documentation.

Regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jeff Reinhardt
Top achievements
Rank 1
answered on 25 Aug 2010, 01:28 PM
Well, the article you sent me to for instance.  I know how to pull a dataset and set the report datasource to it.  How do I bind fields in the report to an object that does not exist in the report.  All of your report examples show datasources attached and such.  I am not sure how to put my fields on the report.
0
Jeff Reinhardt
Top achievements
Rank 1
answered on 25 Aug 2010, 02:00 PM
Ok I figured it out, but how would I bind the datasource for a subreport to the dataset I need?
0
Steve
Telerik team
answered on 30 Aug 2010, 09:00 AM
Hello Jeff,

It depends whether the SubReport item would depend on the datasource of the report containing it i.e. whether you're creating a master-detail report scenario. In such case, please review the following help article: Creating Master-Detail Reports Using SubReports.
If this is not the case, then simply bind the report through the designer like you would normally do and specify the ReportSource for the SubReport item - no additional steps are required.

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
JOSE
Top achievements
Rank 1
answered on 16 Nov 2016, 06:09 PM
No Steve; I don't belive this is the answer, I think this is refered to some like my problem: I have a DataGrid in a user control of my WPF app, and I want when the user selects some rows from here, send DataGrid.SelectedItems as DataSource to my Telerik Report, and I don't know how i can do this
0
JOSE
Top achievements
Rank 1
answered on 16 Nov 2016, 06:09 PM
No Steve; I don't belive this is the answer, I think this is refered to some like my problem: I have a DataGrid in a user control of my WPF app, and I want when the user selects some rows from here, send DataGrid.SelectedItems as DataSource to my Telerik Report, and I don't know how i can do this
Tags
General Discussions
Asked by
Jeff Reinhardt
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jeff Reinhardt
Top achievements
Rank 1
JOSE
Top achievements
Rank 1
Share this question
or