Simulate progress

4 posts, 0 answers
  1. Cheryl
    Cheryl avatar
    15 posts
    Member since:
    May 2013

    Posted 18 May 2014 Link to this post

    Is there a way to simulate progress?

    I'm attempting to use the custom progress with an Input File object.  It is the processing of the file that I need to simulate but there aren't any measurable steps as such. 

    I note that I've tried to use the input=file demo example that does not have any codebehind code, and the only way I could get the ProgressArea to display was to put code in the codebehind of the button click.

    There is only 1 file to be uploaded, therefore the "While" is really only needed once otherwise it loops through the processing repeatedly.

    The actual processing of the file is done using an external method from the project.

    Perhaps I'm missing something?

    Thanks

  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 21 May 2014 Link to this post

    Hello Cheryl,

    Please review the following demo how the progress area is integrated with a standard input.

    Regards,
    Peter Filipov
    Telerik
     

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Cheryl
    Cheryl avatar
    15 posts
    Member since:
    May 2013

    Posted 22 May 2014 in reply to Peter Filipov Link to this post

    Thanks but I already have that.

    I have got it going with the input=file, but only when I have codebehind code as per the custom progress. 

    What I wanted to know was there a way to simulate the progress when there aren't any measureable steps as such - as it is the processing of the file uploaded that I want to show, but that processing is done in a backend dll, not in the page itself.

    I suspect there isn't, and showing the 5% of the upload which it then sits on until its complete is not helpful.

    So what I've done instead is I'm using the progresstemplate to show the loading.gif which won't show by itself due to the button not being able to be ajaxified.  Not a bad compromise.
  5. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 27 May 2014 Link to this post

    Hello Cheryl,

    It is not possible to track the progress without measurable steps. The progress area and progress manager support only file upload tracking out of the box without adding custom code like in the demos. You need only to register the RadUpload module and the progress handler.

    Regards,
    Peter Filipov
    Telerik
     

    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