It is not a good idea to use StyleManager to switching themes at runtime. When trying to switch an application theme through the StyleManager, RadControls pick up their theme once when they are created. After layout is created the application theme cannot be changed. To force the controls to change their theme, you need to reset or recreate the UI, so that the controls can pick up the new theme. This is the reason why with this approach you need to recreate your view.
And this is why we strongly recommend using the implicit styling approach
when you switching themes
. This way you will have no problems to point which template to be used when the theme is changed.
I hope this information would be helpful.
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.