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

Run-time theme changing problem

3 Answers 155 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Mikhailo Shuturma
Top achievements
Rank 1
Mikhailo Shuturma asked on 21 May 2010, 10:02 AM
Hello

There is an unresolved problem considering the theme which should be applied to RadDocking control in run-time mode.
Here a little code snippet:
 public MainWindow() 
        { 
            StyleManager.ApplicationTheme = new Office_BlueTheme(); 
            InitializeComponent();   
        } 
 
private void RadButton_Click(object sender, RoutedEventArgs e) 
        { 
            StyleManager.ApplicationTheme = new Office_SilverTheme(); 
            StyleManager.SetTheme(myRadDocking, StyleManager.ApplicationTheme); 
        }      

This code can be applied to any sample project (where Docking control is used) available on your forum. The problem is that when this code is executed:
StyleManager.ApplicationTheme = new Office_SilverTheme(); 
StyleManager.SetTheme(myRadDocking, StyleManager.ApplicationTheme); 

the layout of Docking windows will be destroyed. It stops working correctly. Please take a look on this and advise what can I do to resolve this problem. Note: this is not the Windows7Theme issue, this considers all themes.

Thanks

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 24 May 2010, 04:01 PM
Hello Mikhailo Shuturma,

Thank you for contacting us.

We have already logged this issue in our bug tracking system and we will do our best to provide a fix for the next major release.
Sorry for the caused inconvenience.

If you have any other questions about our controls please let us know.

All the best,
Konstantina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Sushil
Top achievements
Rank 1
answered on 15 Sep 2010, 11:28 PM
Hi,

I have the same issue. When i  change the theme on a RadDocking at runtime, all RadPaneGroups loose their positions and are aligned parallel to each other. I using the Aug 12, 2010 release.
0
Konstantina
Telerik team
answered on 17 Sep 2010, 03:11 PM
Hi Sushil,

We haven't scheduled yet the fix of this issue. However, there is a PITS item which you can track. You can vote for it and track when it is going to be implemented. You can view it here.
Sorry for the caused inconvenience.

If you have any other concerns about our controls please let us know.

Kind regards,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Mikhailo Shuturma
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Sushil
Top achievements
Rank 1
Share this question
or