This is a migrated thread and some comments may be shown as answers.

rad busy indicator not working

5 Answers 216 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Noel
Top achievements
Rank 1
Noel asked on 21 Apr 2013, 10:36 AM
public MainPage()
        {
            InitializeComponent();
            DataContext = App.Model;
            this.Dispatcher.BeginInvoke(new Action(() =>
            {
              
                radbusyIndicator.IsRunning = true;
                SampleData.Data.getInfo();
                SampleData.Data.getData();
               
                radbusyIndicator.IsRunning = false;
            }));
 
 
            
        }

5 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 24 Apr 2013, 06:27 AM
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.
0
Noel
Top achievements
Rank 1
answered on 24 Apr 2013, 06:50 AM
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;
            }));
  
  
             
        }
0
Deyan
Telerik team
answered on 24 Apr 2013, 06:53 AM
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.
0
Noel
Top achievements
Rank 1
answered on 24 Apr 2013, 06:56 AM
but the data is shown on the page after some 15 sec, which i dont think is fast
0
Deyan
Telerik team
answered on 29 Apr 2013, 05:33 AM
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.
Tags
BusyIndicator
Asked by
Noel
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Noel
Top achievements
Rank 1
Share this question
or