How to Stop Telerik Report processing query

3 posts, 0 answers
  1. Mikail
    Mikail avatar
    4 posts
    Member since:
    Feb 2014

    Posted 16 Mar 2015 Link to this post

    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?

  2. Hinata
    Hinata avatar
    146 posts
    Member since:
    Dec 2013

    Posted 18 Mar 2015 in reply to Mikail Link to this post

    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."
  3. Mikail
    Mikail avatar
    4 posts
    Member since:
    Feb 2014

    Posted 19 Mar 2015 in reply to Hinata Link to this post

    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. 

Back to Top