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

how to bind the objectDataSource for the Data Source in telerik report when ReportSource is UriReportSource

2 Answers 281 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
christinecyx
Top achievements
Rank 1
christinecyx asked on 21 Nov 2016, 06:32 AM

Can anyone give me an example about how to bind the objectDataSource for the Data Source in telerik report ?

I hope the example is comprehensive,including Report Designers UI wizards and the reportviewer part.

Besides, the reportsource is a UriReportSource not an InstanceReportSource,this is important. 

the other question :  there is a List<T> in the object, I need the the taskInfo and the list<C> are both in the report

just like:

public class  TaskInfo

{

          public  string a { get; set; } 

          public  string b { get; set; }

          public List<C> listC { get; set; }

          ...

}

i think the solution is i need use  multiple objectDataSource in a single Report , but how?

I have already read the Help document and i tried ,but i failed ! I found the posts on forums but also failed !

I'm using Telerik Reporting Q1 2015 , vs 2013 ,  .net framework 4.5 and it is a wpf project.
Thank you!

2 Answers, 1 is accepted

Sort by
0
christinecyx
Top achievements
Rank 1
answered on 22 Nov 2016, 01:46 AM
hello!Could anyone help me?Thank you very much!
0
Stef
Telerik team
answered on 22 Nov 2016, 03:22 PM
Hello,

The Standalone Report Designer can be extended to load external assemblies with data access logic - Extending Report Designer. Then you will need to extend the viewer's project to load the external assembly in a similar manner - Previewing a report definition that uses an external assembly.


An example how to extend the Standalone Report Designer is illustrated in the attached video. the video is a SWF file that can be previewed in IE browser.


About displaying the collection property of the main business object, check How to Databind to Collection Properties.

Regards,
Stef
Telerik by Progress
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
General Discussions
Asked by
christinecyx
Top achievements
Rank 1
Answers by
christinecyx
Top achievements
Rank 1
Stef
Telerik team
Share this question
or