Performance

2 posts, 0 answers
  1. Henrique Duarte
    Henrique Duarte avatar
    104 posts
    Member since:
    Oct 2003

    Posted 05 Jul 2011 Link to this post

    How can I set the IsBusy property to true only after the transition of RadTransitionControl has completed?

    Best regards,

    Henrique
  2. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 08 Jul 2011 Link to this post

    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!

  3. DevCraft banner
Back to Top