Dynamically set the objectDataSource of a report

2 posts, 0 answers
  1. Aubrey Ivan
    Aubrey Ivan avatar
    26 posts
    Member since:
    Oct 2019

    Posted 31 Oct 2019 Link to this post

    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?
  2. Nasko
    Nasko avatar
    1077 posts

    Posted 05 Nov 2019 Link to this post

    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.

    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
Back to Top