[CLOSED] How to retrigger ProgressBar on complete?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] How to retrigger ProgressBar on complete?

    Hello.

    I am refreshing something every 60 seconds through a webrequest.
    I want to show a progressbar that indicates the next refresh.
    If the refresh has completed, the progressbar should reset and start again. Unfortunately it does only run one time.

    
            var runProgressTasks = function (progress) {           
                progress.wait({
                    interval: 100,
                    duration: 6000,
                    increment: 60,
                    text: "Please Wait",
                    fn: function () {
    
                   doSomething();
                   runProgressTasks(App.ProgressTasks); <--- retrigger here !!!
                 }
       
                });
                
            }
    I guess it does not work because the progressbar is still running at that moment, what can I do?

    My second questions is, that as far as I understood my interval,duration and increment setting should seperate the progressbar into 60 pieces and fill one every second. But the progressbar runs much faster, does it need a specific width in order to use an increment of 60?

    Regards
    Last edited by geoffrey.mcgill; Feb 26, 2013 at 7:21 AM. Reason: [CLOSED]

Similar Threads

  1. [CLOSED] V2.1 DeskTop & ProgressBar
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 30, 2012, 5:09 PM
  2. Progressbar code behind
    By HaamSapTjai in forum 1.x Help
    Replies: 0
    Last Post: Feb 13, 2012, 11:58 AM
  3. [CLOSED] Progressbar implementation issue
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 27, 2011, 5:21 PM
  4. [URGENT] How to add Progressbar to Ext:Column
    By shakeebgenii in forum 1.x Help
    Replies: 0
    Last Post: Apr 16, 2010, 3:57 AM
  5. [CLOSED] ProgressBar in Panel
    By Steve in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jul 18, 2009, 8:48 PM

Posting Permissions