Connecting data to a trdx report

6 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 05 Mar 2014 Link to this post

    Hi

    I'm going backwards and forwards with this, and I'm not even sure what I need to search for.

    Following Best practice I have my report data in a separate class., but I'm trying to use the  standalone report designer.

    How do I connect my existing data in these classes to the stand alone report.

    Andy
  2. Xorcist
    Xorcist avatar
    92 posts
    Member since:
    Apr 2009

    Posted 06 Mar 2014 in reply to Andy Green Link to this post

    Check out my post here:

    DataSource Binding Order of Operations?

    You need to deserialize the *.trdx from xml into a report instance and then you can successfully change the datasource.
  3. DevCraft banner
  4. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 07 Mar 2014 Link to this post

    Hi Andy,

    Do you want to use the ObjectDataSource component to connect to your data layer? If this is the case check out the Extending Report Designer help article that elaborates on the topic.

    Regards,
    Peter
    Telerik

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

  5. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 12 Mar 2014 Link to this post

    Thanks Guys, I'll go through the links provided.

    Like I say I don't know what I need to search for. I have a separate VB class in my project and its these classes I want to use in the Standalone designer. If using the VB designer I sort of know what I'm doing. Just can't see how to join it all up with the trdx file.

    Andy
  6. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 14 Mar 2014 Link to this post

    Hi Andy,

    You have to build the project that contains your data layer and place the resulted assembly next to the Telerik.ReportDesigner.exe. Than you have setup the Telerik.ReportDesigner.config with the required configuration. For more information see the How to use external assemblies with custom CLR objects in the Report Designer KB article.

    Regards,
    Peter
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
  7. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 14 Mar 2014 in reply to Peter Link to this post

    Thanks Peter, but I have given up on this.

    I'm happy with the VS report designer and how to get it to work. For my current needs I cant't see any advantage in using the Standalone designer and I can't seem to get it working how I need.

    Thanks for your help, I might come back to it later.

    Andy
Back to Top
DevCraft banner