rad busy indicator not working

6 posts, 0 answers
  1. Noel
    Noel avatar
    3 posts
    Member since:
    Apr 2013

    Posted 21 Apr 2013 Link to this post

    public MainPage()
            {
                InitializeComponent();
                DataContext = App.Model;
                this.Dispatcher.BeginInvoke(new Action(() =>
                {
                  
                    radbusyIndicator.IsRunning = true;
                    SampleData.Data.getInfo();
                    SampleData.Data.getData();
                   
                    radbusyIndicator.IsRunning = false;
                }));
     
     
                
            }
  2. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 24 Apr 2013 Link to this post

    Hello Noel,

    Can you please try setting the IsRunning property outside of the Action and resetting it to false just as you do at the moment?

    All the best,
    Deyan
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. Noel
    Noel avatar
    3 posts
    Member since:
    Apr 2013

    Posted 24 Apr 2013 Link to this post

    hi thanks for the reply.
    I tried the way you suggested, but still it doesn't show.
    if i comment theradbusyIndicator.IsRunning = false;
    then it shows , but doesn't disappear after the data is loaded, which is obvious.

    public MainPage()
            {
                InitializeComponent();
                DataContext = App.Model;
                radbusyIndicator.IsRunning = true;
                this.Dispatcher.BeginInvoke(new Action(() =>
                {
                    SampleData.Data.getInfo();
                    SampleData.Data.getData();
                    
                    radbusyIndicator.IsRunning = false;
                }));
      
      
                 
            }
  5. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 24 Apr 2013 Link to this post

    Hi Noel,

    So it seems that your data is fetched too fast. The Busy Indicator shows up with a fade-in animation which takes some time. I believe because the data arrives too fast, the indicator does not have enough time to show up before it is again closed.

    Greetings,
    Deyan
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  6. Noel
    Noel avatar
    3 posts
    Member since:
    Apr 2013

    Posted 24 Apr 2013 Link to this post

    but the data is shown on the page after some 15 sec, which i dont think is fast
  7. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 29 Apr 2013 Link to this post

    Hi Noel,

    Thanks for writing back.

    It seems that there is something specific in your project that prevents the Busy Indicator from showing up. I cannot exactly say what this is by looking into the snippet you've sent me so I would like to ask you for a sample project that reproduces the case. This will help me debug it on my side and see what goes wrong.

    Note that you will have to open a new support ticket in order to be able to attach your project.

    Thanks for your time.

    Regards,
    Deyan
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top
DevCraft banner