This is my scenerio.
i have report in xml stored in database, report has subreports as uri
<UriReportSource Uri="sub_report1.trdx">
i have rest api service that consume xml , render it as pdf and returns it as byte[].
And everything works fine but my custom resolver dosnt fire.
It seems to be that when I DO NOT use telerik_ReportViewer, resolve event doesnt invoke, am i right? My rest api service does not even inherits from Telerik ReportsControllerBase
my desire is when i call renderReport customResolver is invoked, i download xml for subreport (based on uri trdx) and i put them together with main report and return "As complete"
Can i configure it to achieve what i want ?
my server side code
//xDoc represents report in xml
using var tr = new StringReader(xDoc.Root.ToString());
var xmlSerializer = new Telerik.Reporting.XmlSerialization.ReportXmlSerializer();
var report = (Telerik.Reporting.Report)xmlSerializer.Deserialize(tr);
ReportProcessor reportProcessor = new ReportProcessor();
Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
instanceReportSource.ReportDocument = report;
RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);
return result.DocumentBytes;