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

Standalone designer from XML files

1 Answer 96 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Eric Moreau
Top achievements
Rank 2
Iron
Iron
Veteran
Eric Moreau asked on 13 Nov 2018, 04:51 PM

Hi

I am new to your reporting tool (coming from Crystal Report and trying to run away from it!).

I am trying to build a report that I will feed at runtime with a .Net dataset. How can I do it?

I saw https://docs.telerik.com/reporting/faq-xml-support but some links are not valid anymore.

I have also seen https://www.telerik.com/forums/using-telerik-report-designer-with-xml-datasource but it is 5 years old.

How does it work?

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 16 Nov 2018, 01:39 PM
Hi Eric,

Thank you for contacting us.

In order to use a dataset as a data provider in Telerik Reporting it would be necessary to use an ObjectDataSource componentFor a comprehensive example I would refer you to How to: Bind to a DataSet help article.

ObjectDataSource.DataSource property should be the assembly qualified name or the Type of the data access layer (class), where the reporting engine will use System.Reflection to create the instance of the class by using its default constructor, and to execute its method specified by the ObjectDataSource.DataMember property.
If the ObjectDataSource.DataSource contains more than one table, you must set the DataMember property to a string that specifies the table to bind to.

Note that if the data providing class is in an external assembly, it might be necessary to register it in the application configuration file as explained in Configuration section.
- When using the VS designer the application configuration file would be devenv.exe.config in (VS installation folder)\Common7\IDE (for example C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE).
- The configuration file for the Standalone designer would be Telerik.ReportDesigner.exe.config in (Telerik Reporting installation folder)\Report Designer) (for example C:\Program Files (x86)\Progress\Telerik Reporting R3 2018\Report Designer).
The external assembly should also be copied in the corresponding application folder.

As a side note, thank you for pointing us to the broken links in the FAQ articles! We will fix them as soon as possible.

Regards,
Silviya
Progress Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
Eric Moreau
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Silviya
Telerik team
Share this question
or