ObjectDataSource Sample Report?

7 posts, 0 answers
  1. Jeff Reinhardt
    Jeff Reinhardt avatar
    56 posts
    Member since:
    Oct 2009

    Posted 20 Aug 2010 Link to this post

    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?
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 25 Aug 2010 Link to this post

    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
  3. Jeff Reinhardt
    Jeff Reinhardt avatar
    56 posts
    Member since:
    Oct 2009

    Posted 25 Aug 2010 Link to this post

    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.
  4. Jeff Reinhardt
    Jeff Reinhardt avatar
    56 posts
    Member since:
    Oct 2009

    Posted 25 Aug 2010 Link to this post

    Ok I figured it out, but how would I bind the datasource for a subreport to the dataset I need?
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 30 Aug 2010 Link to this post

    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
  6. JOSE
    JOSE avatar
    29 posts
    Member since:
    Jul 2015

    Posted 16 Nov 2016 in reply to Steve Link to this post

    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
  7. JOSE
    JOSE avatar
    29 posts
    Member since:
    Jul 2015

    Posted 16 Nov 2016 in reply to Steve Link to this post

    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
Back to Top