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

Minimum Display Time

3 Answers 72 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
Jason Maronge
Top achievements
Rank 1
Jason Maronge asked on 30 Jun 2011, 03:14 PM
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.

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 06 Jul 2011, 09:09 AM
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!

0
Jason Maronge
Top achievements
Rank 1
answered on 06 Jul 2011, 02:26 PM
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
0
Konstantina
Telerik team
answered on 11 Jul 2011, 04:26 PM
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!

Tags
BusyIndicator
Asked by
Jason Maronge
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Jason Maronge
Top achievements
Rank 1
Share this question
or