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

Report DataSource & Display in one

1 Answer 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Luke
Top achievements
Rank 2
Luke asked on 21 Nov 2013, 10:23 AM
Good Afternoon,

I am currently trialing the Reporting DevTool with a view of purchasing it providing it can acheive what i am trying to achieve.  I have been having a look on the forums and the Help files for the reporting to try and solve an issue that i am having, however at the minute i am unable to find a complete solution.  Hence the post in here.

Basically what i have is a report that i have designed and is previeving exactly as i would expect it to in the .Net design viewer in VS2012.  However what i am trying to achieve is changing the datasource at runtime for that report before displaying it.  I have found out the following links:

http://www.telerik.com/help/reporting/programmatic-creating-report.html
http://www.telerik.com/help/reporting/winforms-report-viewer-embedding.html

which i believe detail what i am trying to acheive however when i try and put them together i dont seem to get anything and i cant set the report to open in the viewer.  Could someone please provide me with some advice and guidance as to how i can achieve this. 

Thank you in advanced

Luke Frost

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Nov 2013, 09:07 AM
Hi Luke,

Generally there are different approaches for changing the datasource depending on the source of the datasource:

Give it a try and if you need additional assistance we will appreciate if you elaborate further on your scenario.

Regards,
Peter
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Luke
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or