Hi,
I programmatically create interfaces rather than use VS.net Designer, and almost all Telerik Windows Forms controls work Ok with this, however I cannot get the toolstrip to render correctly using the default application theme. If I switch default application themes having created and loaded my new toolstrip it renders correctly but until I toggle the theme it looks poor.
I try to work around this by calling the following for each control I create at runtime;
private void applyThemeToGeneratedControl(Telerik.WinControls.RadControl control)
{
control.ThemeName = Telerik.WinControls.
ThemeResolutionService.ApplicationThemeName;
control.RootElement.ForceReApplyStyle();
control.RootElement.ForceApplyTheme();
}
which does work for the majority of controls, but not for toolstrip.
Any ideas what I'm doing wrong here ?
Thanks,
Phillip