Posted 16 February 2022, 5:51 pm EST
I have been following this blog post (https://www.grapecity.com/blogs/how-to-programmatically-bind-data-in-rdl-page-report-using-net) in order to dynamically render ActiveReports 16 RDLs in a .NET 5 Razor Page MVC environment. The LocateDataSource event does what I need; I can hit my API when the page is rendered and supply the results as JSON. The full code for my RdlxViewer page can be found here - https://pastebin.com/cJNf9GmX
This works for the main report. However, I have not been able to find any documentation or examples describing how to do this for any subreports. There are lots of older threads that talk about how to do this for SQL-like data sources, but I haven’t been able to find anything for JSON, or using LocateDataSource. Is this something I would have to set in the script of the parent RDL somehow?