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 https://demos.telerik.com/aspnet-ajax/progressarea/examples/customprogress/defaultcs.aspx. 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: http://www.telerik.com/forums/strange-behavior-with-the-cancel-button-in-radprogressarea
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.
//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: http://www.telerik.com/forums/strange-behavior-with-the-cancel-button-in-radprogressarea
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.