Report Checker integration

Stimulsoft Reports.NET discussion
Post Reply
ajoos
Posts: 15
Joined: Wed Dec 11, 2013 1:24 pm

Report Checker integration

Post by ajoos »

Hey! Is there a way to emit own error messages into the Designer's report checker? We have, for example, created own datasources that can have an error in the definition. I would like inform our Designer users about such cases in the Report checker. How to do that? Thanks & Greetings, Andry
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Report Checker integration

Post by Alex K. »

Hello,

Yes, it is possible.
Please check the following code and sample in the attachment.

Code: Select all

var list = Stimulsoft.Report.Check.StiCheckEngine.Checks;
list.Add(new Stimulsoft.Report.Check.StiMyDataSourceCheck());
Thank you.
Attachments
StiMyDataSourceCheck.cs
(1.75 KiB) Downloaded 138 times
ajoos
Posts: 15
Joined: Wed Dec 11, 2013 1:24 pm

Re: Report Checker integration

Post by ajoos »

That's great, thank you Aleksey for this example. I will try to implement it right away.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Report Checker integration

Post by Alex K. »

Hello,

Let us know if you need any additional help.
ajoos
Posts: 15
Joined: Wed Dec 11, 2013 1:24 pm

Re: Report Checker integration

Post by ajoos »

Hi Aleksey. No additional help needed - my implementation works perfectly. Thank you for posting the example.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Report Checker integration

Post by Andrew »

Great!

Have a nice day and coming weekend!
Post Reply