Hi,
I have a simple case scenario where I programatically export my report to various file format then email our report to our customer.
Now it happens that those reports contains no data and in this case we want to send a proper email informing them that their report contains no data (which is good usually because we send alerts report :) )
anyway, it sounds like a simple enough scenario though I couldn't yet place my hand onto it ...
code looks like this:
RenderingResult result = reportProcessor.RenderReport(exportFormat, telerikReport, null);
if (result.HasErrors)
wish I could say if error == "No data" then ...else ...
any help / suggestion?
Regards
Jim
PS: version used Q1 2011 SP1 (5.0.11.510)...I know time to upgrade right ;)
I have a simple case scenario where I programatically export my report to various file format then email our report to our customer.
Now it happens that those reports contains no data and in this case we want to send a proper email informing them that their report contains no data (which is good usually because we send alerts report :) )
anyway, it sounds like a simple enough scenario though I couldn't yet place my hand onto it ...
code looks like this:
RenderingResult result = reportProcessor.RenderReport(exportFormat, telerikReport, null);
if (result.HasErrors)
wish I could say if error == "No data" then ...else ...
any help / suggestion?
Regards
Jim
PS: version used Q1 2011 SP1 (5.0.11.510)...I know time to upgrade right ;)