RadProgressArea Questions

Thread is closed for posting
2 posts, 0 answers
  1. Kevin Donahue
    Kevin Donahue avatar
    33 posts
    Member since:
    Oct 2009

    Posted 23 Sep 2010 Link to this post

    I have two questions:

    1) How do I cancel an upload using the RadUpload control?  I'm using it in conjunction with a RadProgressArea, and that has a cancel button on it, but how do I stop the upload client side (if possible) or at least tell that it was cancelled on the server?

    2) I am using the RadProgressArea elsewhere in my project with custom data.  I start an operation and just use web service calls to do some work meanwhile updating the progress using the "update" method of the RadProgressArea.  After the operation is finished I use the "hide" method to stop the progress.  There are no post backs made to the server.  Once the progress has stopped, in visual studio I am getting this script running over and over again in an infinite loop:

    var rawProgressData = {InProgress:false,ProgressCounters:false};

    Any ideas what this is and how to stop it?
  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 29 Sep 2010 Link to this post

    Hello Kevin Donahue,

    1) Pressing the Cancel button should cancel the upload and notify the server about this action. Does this happen on your side?

    2) You need to set the OperationComplete property to true either on the server side or on the client. On the server, it can be accessed using:

    RadProgressContext.Current.OperationComplete = true;

    the RadProgressContext class is inside the Telerik.Web.UI namespace.

    On the client you can add handler for the OnClientProgressUpdating event of RadProgressManager and set true to the args.ProgressData.OperationComplete property

    Best wishes,
    Genady Sergeev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top