Cancel Button on ProgressArea to stop a long running process

2 posts, 1 answers
  1. Christopher
    Christopher avatar
    10 posts
    Member since:
    Dec 2008

    Posted 24 Apr 2014 Link to this post

    I am using a ProgressArea control to monitor a long process. I would like to stop the process if the user press the Cancel button. When the Cancel button is pressed, the ProgressArea goes away but in actually the process is still running and the Response.IsClientConnected still returns true. Several demos indicate that if the Cancel button is pressed the Response.IsClientConnected will be false. One such demos is The code has the following comment:  
                     //Cancel button was clicked or the browser was closed, so stop processing

    So my question is: How can I stop a long running process monitored by the ProgressArea.

    This is related to the following question asked previously:
    but was never really answered satisfactorily. This indicated that Telerik was working on a solution as far back as 2008.

    Thanks for any suggestions.

    Chris J.
  2. Answer
    Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 29 Apr 2014 Link to this post

    Hello Chris,

    The Cancel button is working fine when the application is hosted on IIS. If you are testing on the VS development server the Response.IsClientConnected will always be true. Keep in mind that in the previous versions of the RadProgressArea the cancellation is not working under Chrome. For Q2.2014 this will be resolved. You could test our internal build for this.

    Peter Filipov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top