Change theme of BusyIndicator, not complete GridView

4 posts, 0 answers
  1. Manuel
    Manuel avatar
    5 posts
    Member since:
    Oct 2011

    Posted 21 Nov 2011 Link to this post

    I have currently a GridView which binds the IsBusy-Property to a corresponding property in the ViewModel. It works perfectly and the BusyIndicator is shown.
    The only "problem" I have is, that I'm using elsewhere the BusyIndicator as a standalone ContentControl and an assigned Expression_Dark theme, which looks prettier than the default-theme.

    However, is it possible to assign this Expression_Dark theme just for the BusyIndicator inside the GridView and keep the GridView itself in the default template-style? I also tried to wrap the complete GridView with another BusyIndicator and using this one, but this leads me to two showed BusyIndicator's (one time my wrapping busyindicator and the other inside the RadGridView).

    Thank you in advance!
  2. Nick
    Nick avatar
    593 posts

    Posted 22 Nov 2011 Link to this post

    Hi Manuel,

    You can apply the styles for the GridViewBusyIndicator from the ExpressionDark theme project in your xaml file which will give you the desired results. I am attaching a sample project demonstrating what I mean. If you still have any problem after you have looked into it, feel free to contact us again.

    Nikolay Vasilev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Barry
    Barry avatar
    90 posts
    Member since:
    Jul 2011

    Posted 02 Aug 2012 Link to this post

    I also have this requirement, but in your example it doesn't work if your theme is set by: telerik:StyleManager.Theme="Office_Blue" as mine is. Setting the theme seems to override the style code for the busy indicator.

    Is there another way to accomplish this?
  4. Vanya Pavlova
    Vanya Pavlova avatar
    2019 posts

    Posted 03 Aug 2012 Link to this post

    Hi Barry,


    Indeed you are right! The style for GridViewLoadingIndicator cannot be applied in a theme different than the default one using Telerik StyleManager. Recently we have introduced a new way to style our controls utilizing the approach of using implicit styles. You may check the following online help article. 
    If you use this approach you will avoid such non-styled controls in any Telerik theme. 
    Can you verify how this works for you? 

    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top