Declined
Last Updated: 15 Jul 2019 11:24 by ADMIN
Tursunkhuja
Created on: 08 Jul 2019 11:56
Type: Feature Request
4
We need to be able to cancel a report

Reporting environment:                                                                                      

  • UWP using the web viewer
  • Odata web service to retrieve data (Web service data source)

The problem: I have a table that has several million records. I have a report with parameters to query those records. Example on a sales report: Customer (All or specific customer) and Product (All or specific product) and date range.  If by mistake the user selects all customers, all products, and a date range of 10 years, he may get millions of records for the report.  After several seconds he realizes that he entered the wrong parameters and wants to cancel the report.  There is no way to cancel. The solution was to run this in another thread and kill the process. That seems like a hack and doesn’t stop the web request so the web service keeps working even after the report has been killed.

Change request: Allow canceling in two ways:

  1. The report viewer (we are using the web viewer) should have a cancel button
  2. We should be able to cancel a report programmatically. 

The web data source should implement the “Cancellation Token” and cancel the web request when the report is canceled.  Postman, browsers, and other tools use this technique so that the web service understands that the data is no longer needed and it can stop the request.

Some links explaining how to implement Cancellation Tokens:

1 comment
ADMIN
Silviya
Posted on: 15 Jul 2019 11:24
Hello Tursunhuja,

This request is a duplicate of the following one: Ability to cancel the report rendering automatically or manually.

Please vote and comment there to consolidate the votes. I will decline this one as a duplicate.

Best Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items