Hello,
I use a reportProcessor to generate PDF directly from a report, I'm unable to catch the exception that are thrown inside the subreports
I always get
What I've been able to do till now is :
Thanks in advance
Paolo
I use a reportProcessor to generate PDF directly from a report, I'm unable to catch the exception that are thrown inside the subreports
I always get
RenderingResult res =reportProcessor.RenderReport("PDF", report, null);
bool hasError = res.HasErrors <- false
What I've been able to do till now is :
public xxx()
{
InitializeComponent();
reportFactory = new ReportFactory();
this.NeedDataSource += new EventHandler(xxx_NeedDataSource);
this.subReport1.ReportSource.Error += new Telerik.Reporting.ErrorEventHandler(ReportSource_Error);
}
private void ReportSource_Error(object sender, Telerik.Reporting.ErrorEventArgs eventArgs)
{
//how do I propagate the error here to the reportrender?
}
Thanks in advance
Paolo