Minimum Display Time

4 posts, 0 answers
  1. Jason Maronge
    Jason Maronge avatar
    322 posts
    Member since:
    Jan 2005

    Posted 30 Jun 2011 Link to this post

    Does anyone have an example of the transitions to use to display the busy indicator for a minimum x number of seconds?  Basically I want to make sure the busy indicator is show for at least 1 second so the user knows that the data is being saved.

    Thanks.
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 06 Jul 2011 Link to this post

    Hello Jason,

    You can use the BackgroundWorker class in order to achieve this. You can find an example of its use in this online demo. Or depending on your scenario you can manually set the IsBusy property of the BusyIndicator, so that it shows for awhile.

    Hope this information helps.

    Regards,
    Konstantina
    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
  4. Jason Maronge
    Jason Maronge avatar
    322 posts
    Member since:
    Jan 2005

    Posted 06 Jul 2011 Link to this post

    I am using the IsBusy.  I have subscribed to the property changed event for the domain service context and am setting the IsBusy property to

    IsBusy = _repository.Context.IsLoading || _repository.Context.IsSubmitting;

    Problem is that the calls are so quick that busy indicator never shows up.  I want to make sure it shows up each time so the user is aware that the data is saving.  I believe it can be done with modifying the VisualStates but do not know how to accomplish it.

    Thanks,

    Jason
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 11 Jul 2011 Link to this post

    Hello Jason,

    That is why is better to use BackgroundWorker another thread and set the Sleep property in order the BusyIndicator to be visible. Please go through the online demo.
    If you still experience difficulties, could you please send us your project in order to review it and provide you with the best solution for your case.

    Greetings,
    Konstantina
    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!

Back to Top