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

How to Stop Telerik Report processing query

2 Answers 190 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mikail
Top achievements
Rank 1
Mikail asked on 16 Mar 2015, 09:45 AM
Hi There,

I implemented some reports with parametric queries. Like start date, end date etc.. In addition, I am showing the selected report inside of Radwindow.
So they can see selected parameters when they close radwindow or make some changes on parameters.

Here is the problem, a user selects a report and report takes some time to load. Then,the user is closing the radwindow and changing date time parameter for example and press render button again. However the previous report request still processing and not terminated. I noticed that from SQL Server side. When the old one is completed new request is starting rendering. Therefore page is handling and waiting to finish other other window.

So I am looking a way do stop processing of old report render request if they close radwindow. 

Is there any idea that help me?

Thanks

2 Answers, 1 is accepted

Sort by
0
Hinata
Top achievements
Rank 1
answered on 18 Mar 2015, 03:24 PM
Hello Mikail,

Found this in another forum thread: source.

"unfortunately there is no way to cancel a report from being processed/rendered once the process begins. The web is stateless, i.e. the server is not aware of what the client does, so what happens is: you start the processing and it is performed on the server until ready. This process continues independently on whether your browser is still there waiting for the report to appear or has been closed during that period."
0
Mikail
Top achievements
Rank 1
answered on 19 Mar 2015, 12:17 PM

It is very strange that not possible to stop report after you press render button.
That problem blocks also other users  who are using same database tables for their operations. 

Thanks for your reply. 

Tags
General Discussions
Asked by
Mikail
Top achievements
Rank 1
Answers by
Hinata
Top achievements
Rank 1
Mikail
Top achievements
Rank 1
Share this question
or