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

RadGridView refresh issue when style is changed

1 Answer 131 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 14 Aug 2014, 03:24 AM
I am changing themes for the application on the fly using 

StyleManager.ApplicationTheme = new ...


However this does not seem to get applied for RadGridViews which have already been created. How do I force the theme to refresh for these controls?

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 14 Aug 2014, 06:57 AM
Hello,

I can suggest you using Implicit Styles instead of StyleManager. You can check this help article on Implicit Styles and article on Switching Themes at Runtime for a reference.

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Sam
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or