Changing Theme Dynamically for RadDocking

2 posts, 0 answers
  1. balasubramanyam
    balasubramanyam avatar
    5 posts
    Member since:
    Jan 2011

    Posted 25 Sep 2012 Link to this post

    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>
  2. Georgi
    Admin
    Georgi avatar
    350 posts

    Posted 29 Sep 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top