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

How to create a 'global' BusyIndicator

5 Answers 113 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.
Elvin
Top achievements
Rank 1
Elvin asked on 21 Apr 2014, 05:47 PM
Hi,

I'm using Catel MVVM framework with one of my project and I like it's 'PleaseWaitService', which is a very handy 'global' busy indicator that can be called from any ViewModel with simple 2 lines of code:
            pleaseWaitService.Show();
            pleaseWaitService.Hide();

However its appearance is ugly. I really wish to use the fancy RadBusyIndicator instead but I couldn't figure out how to do this. 

Any clue?


5 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 24 Apr 2014, 07:07 AM
Hello Elvin,

Thanks for writing.

We are not familiar of the way the Catel MVVM framework's PleaseWaitService works and therefore we cannot exactly say how to implement a similar behavior using our BusyIndicator.

A possible approach would be to create a base Windows Phone page which contains the BusyIndicator and always shows it on-top of its contents when some kind of loading action takes place.

You can also use our RadModalWindow and show a BusyIndicator in it. It will make sure to place its contents on-top of the page for you.

I hope this is helpful.

Regards,
Deyan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Elvin
Top achievements
Rank 1
answered on 26 Apr 2014, 06:35 PM
Hello Deyan,

Thanks for your reply.

Actually this question is about 'how to use BusyIndicator purely from C# code'. Catel MVVM framework's PleaseWaitService is just an example that could be irrelevant.

Will you suggest the 'BusyIndicator in a RadModalWindow' way in this case?

Thanks,

Elvin


0
Deyan
Telerik team
answered on 28 Apr 2014, 06:33 AM
Hello Elvin,

You can create any XAML control using C# code only and visualize it on a given page in your Windows Phone app. The case with RadBusyIndicator is not any different.

Yes, you can use RadModalWindow to programmatically insert a BusyIndicator instance in it and visualize it. You can take a look at our online help regarding RadModalWindow for further details:

http://www.telerik.com/help/windows-phone/radwindow-overview.html

I hope this is helpful.

Regards,
Deyan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Cruisesinvietnam
Top achievements
Rank 1
answered on 13 Mar 2015, 08:17 AM
.
tks for share
0
Cruisesinvietnam
Top achievements
Rank 1
answered on 13 Mar 2015, 08:18 AM
tks for share
_______
http://www.halongcruisesvietnam.com
Tags
BusyIndicator
Asked by
Elvin
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Elvin
Top achievements
Rank 1
Cruisesinvietnam
Top achievements
Rank 1
Share this question
or