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

Changing Theme Dynamically for RadDocking

1 Answer 57 Views
Docking
This is a migrated thread and some comments may be shown as answers.
balasubramanyam
Top achievements
Rank 1
balasubramanyam asked on 26 Sep 2012, 04:46 AM
Hi

While changing the raddocking theme dynamically by combo box selectedvalue the radpane contents is getting disabled.please help me out from this 

this is the code 

<Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>


        <telerik:RadComboBox x:Name="themesBox" Grid.Row="0" Margin="5" SelectedIndex="0">
            <telerik:Office_BlackTheme />
            <telerik:Office_BlueTheme />
        </telerik:RadComboBox>
        <telerik:RadDocking Grid.Row="1"  telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True" telerik:StyleManager.Theme="{Binding SelectedValue, ElementName=themesBox}" >
            <telerik:RadDocking.DocumentHost>


                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup>
                        <telerik:RadDocumentPane Header="Document 1" Title="Document 1" />
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>


            </telerik:RadDocking.DocumentHost>


            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft">
                <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 300">
                    <telerik:RadPane Header="Pane Left 1" Content="Pane Left 1" IsPinned="False" />
                </telerik:RadPaneGroup>
                <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 100">
                    <telerik:RadPane Header="Pane Left 2" Content="Pane Left 2" IsPinned="False" />
                </telerik:RadPaneGroup>
                <telerik:RadPaneGroup>
                    <telerik:RadPane Header="Pane Left 3">
//This button is getting disabled after changing the theme
                        <telerik:RadButton Height="50" Width="200" Content="test" />
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>


            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedRight">
                <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="150, 200">
                    <telerik:RadPane Header="Pane Right 1" Content="Pane Right 1" IsPinned="False" />
                </telerik:RadPaneGroup>
                <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="250, 200">
                    <telerik:RadPane Header="Pane Right 2" Content="Pane Right 2"  />
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>


            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
                <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="100, 200">
                    <telerik:RadPane Header="Pane Bottom 1" Content="Pane Bottom 1" IsPinned="False" />
                </telerik:RadPaneGroup>
                <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="300, 200">
                    <telerik:RadPane Header="Pane Bottom 2" Content="Pane Bottom 2" />
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>


        </telerik:RadDocking>

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 29 Sep 2012, 07:02 AM
Hello balasubramanyam,

Thank you for reporting the issue, we are aware of it and we have it logged in our Public Issue Tracking System. Here you can vote and track the progress of fixing it.

Kind regards,
Georgi
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
Docking
Asked by
balasubramanyam
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or