How to create a 'global' BusyIndicator

6 posts, 0 answers
  1. Elvin
    Elvin avatar
    5 posts
    Member since:
    Aug 2013

    Posted 21 Apr 2014 Link to this post

    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?


  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 24 Apr 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. Elvin
    Elvin avatar
    5 posts
    Member since:
    Aug 2013

    Posted 26 Apr 2014 in reply to Deyan Link to this post

    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


  5. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 28 Apr 2014 Link to this post

    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.

     
  6. Cruisesinvietnam
    Cruisesinvietnam avatar
    2 posts
    Member since:
    Mar 2015

    Posted 13 Mar 2015 Link to this post

    .
    tks for share
  7. Cruisesinvietnam
    Cruisesinvietnam avatar
    2 posts
    Member since:
    Mar 2015

    Posted 13 Mar 2015 Link to this post

    tks for share
    _______
    http://www.halongcruisesvietnam.com
Back to Top
DevCraft banner