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

Connecting data to a trdx report

5 Answers 101 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 05 Mar 2014, 03:31 PM
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

5 Answers, 1 is accepted

Sort by
0
Xorcist
Top achievements
Rank 1
answered on 06 Mar 2014, 09:58 PM
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.
0
Peter
Telerik team
answered on 07 Mar 2014, 03:11 PM
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.

0
Andy Green
Top achievements
Rank 2
answered on 12 Mar 2014, 07:23 AM
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
0
Peter
Telerik team
answered on 14 Mar 2014, 08:31 AM
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.

 
0
Andy Green
Top achievements
Rank 2
answered on 14 Mar 2014, 08:37 AM
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
Tags
Report Designer (standalone)
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Xorcist
Top achievements
Rank 1
Peter
Telerik team
Andy Green
Top achievements
Rank 2
Share this question
or