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

Performance

1 Answer 50 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
Henrique Duarte
Top achievements
Rank 1
Veteran
Henrique Duarte asked on 06 Jul 2011, 12:18 AM
How can I set the IsBusy property to true only after the transition of RadTransitionControl has completed?

Best regards,

Henrique

1 Answer, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 08 Jul 2011, 05:18 PM
Hello Henrique Duarte,

RadBusyIndicator doesn't have suitable event for what you want to achive. However here is a sample code that will do the trick:
this.radBusyIndicator.IsBusy = true;
timer = new DispatcherTimer();
timer.Interval = this.radTransitionControl.Duration;
timer.Tick +=
delegate(object s, EventArgs args)
   {
       this.radBusyIndicator.IsBusy = false;
       timer.Stop();
   };
timer.Start();

Hope this helps.

All the best,
Ivo
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
BusyIndicator
Asked by
Henrique Duarte
Top achievements
Rank 1
Veteran
Answers by
Ivo
Telerik team
Share this question
or