This is a migrated thread and some comments may be shown as answers.

How to use cancellation token with a report source resolver?

1 Answer 208 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mirzodaler
Top achievements
Rank 1
Veteran
Mirzodaler asked on 18 Jun 2020, 10:03 AM

Hi,
I want to use the CancelationToken after updating to R2 2020 but not sure how can I do that with a way we process reports.
We have Report API (ReportsController) and a custom report resolver (IReportSourceResolver). Custom report resolver returns ReportSource object. The client side is HTML5ReportViewer.
So, for a processing report, exporting, printing we are not using any custom ReportProcessor classes.
How with this architecture, where we are not using programmatically ReportProcessor class, we can use CancelationToken? Is there any event we can subscriber so that cancelation token can be added before processing, exporting or printing reports?

Thanks,


1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 23 Jun 2020, 07:55 AM

Hello Mirzodaler,

The CancelationToken can be used currently only with ReportProcessor.

We have planned to cover the rest of the requirements about canceling a report rendering in R3 2020, scheduled for the middle of September 2020.

Regards,
Todor
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Mirzodaler
Top achievements
Rank 1
Veteran
Answers by
Todor
Telerik team
Share this question
or