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

Dynamically set the objectDataSource of a report

1 Answer 597 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aubrey Ivan
Top achievements
Rank 1
Aubrey Ivan asked on 31 Oct 2019, 08:16 AM
I am using MVC Report Viewer ASP .NET, is it possible to set the objectDataSource? If so how do I go on about it, what's the easiest way to do it? Also, does InstanceReportSource doesnt work anymore for ASP .NET MVC Report Viewer?

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 05 Nov 2019, 06:34 AM

Hello Aubrey Ivan,

The recommended way to set the ObjectDataSource component is during design-time in one of our Report Designers. You can control what data is returned from the data source using Data Source Parameters.

Regarding the Report Sources supported in the HTML5 ASP.NET MVC Report Viewer only TypeReportSource and UriReportSource can be used out-of-the-box. InstanceReportSource is supported only with a Custom Report Resolver implemented on the server side.

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