Applying Theme Hides The Contents of RadPane

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

    Posted 24 Sep 2011 Link to this post

    Hi To All,
    I have a sample application, I want to change theme by selecting radCombobox , every thing is fine but when I change the theme the all Contents hides in RadPane that is inside RadDocking, I have attached the sample application. Please can any one help me to find solutiom?

    I searched but no related thread found. I am also not at home in Telerik Controls. 

    My code that causes problem is as follows:

    (I wanted to attach sample application but it does allow only limited extentions files)


                <!--THEME SELECTOR COMBO BOX-->
                <TextBlock Text="Select Theme" />
                         <telerik:RadComboBox MinWidth="120" Margin="4" DisplayMemberPath="DisplayName" Text="Change Theme"
                                     ItemsSource="{Binding AvailableThemes}"
                                     SelectedItem="{Binding CurrentTheme, Mode=TwoWay}" />
                    </telerik:RadUniformGrid>
      
            <telerik:RadDocking Grid.Row="1" telerik:StyleManager.Theme="{Binding CurrentTheme.Theme, Mode=TwoWay}" HorizontalAlignment="Left">
                <telerik:RadDocking.DocumentHost>
                    <telerik:RadSplitContainer>
                        <telerik:RadPaneGroup>
                            <telerik:RadPane x:Name="SplitPane" Header="Document Pane2">
                                <telerik:RadPanelBar VerticalAlignment="Stretch" ExpandMode="Multiple" telerik:StyleManager.Theme="{Binding CurrentTheme.Theme}">
                                    <telerik:RadPanelBarItem Header="Test 1" >
                                        <telerik:RadMenuItem Header="System Setup" />
                                        <telerik:RadMenuItem Header="System Setup" />
                                        <telerik:RadMenuItem Header="System Setup" />
                                    </telerik:RadPanelBarItem>
                                    <telerik:RadPanelBarItem Header="Test 2" >
                                        <telerik:RadMenuItem Header="System Setup" />
                                        <telerik:RadMenuItem Header="System Setup" />
                                        <telerik:RadMenuItem Header="System Setup" />
                                    </telerik:RadPanelBarItem>
                                    <telerik:RadPanelBarItem Header="Test 3" >
                                        <TextBlock Text="TEST" Height="90" />
                                    </telerik:RadPanelBarItem>
                                </telerik:RadPanelBar>
                            </telerik:RadPane>
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>
                </telerik:RadDocking.DocumentHost>
                <!--split container that causese problem-->
                <telerik:RadSplitContainer>
                    <telerik:RadPaneGroup x:Name="Group1">
                        <telerik:RadPane x:Name="DocPane" Header="Document Pane">
                                <telerik:RadPanelBar VerticalAlignment="Stretch" ExpandMode="Multiple" telerik:StyleManager.Theme="{Binding CurrentTheme.Theme}">
                                    <telerik:RadPanelBarItem Header="Test 1" >
                                        <telerik:RadMenuItem Header="System Setup" />
                                        <telerik:RadMenuItem Header="System Setup" />
                                        <telerik:RadMenuItem Header="System Setup" />
                                    </telerik:RadPanelBarItem>
                                    <telerik:RadPanelBarItem Header="Test 2" >
                                        <telerik:RadMenuItem Header="System Setup" />
                                        <telerik:RadMenuItem Header="System Setup" />
                                        <telerik:RadMenuItem Header="System Setup" />
                                    </telerik:RadPanelBarItem>
                                    <telerik:RadPanelBarItem Header="Test 3" >
                                        <TextBlock Text="TEST" Height="90" />
                                    </telerik:RadPanelBarItem>
                                </telerik:RadPanelBar>
                        </telerik:RadPane>
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
                 
            </telerik:RadDocking>
      



  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 29 Sep 2011 Link to this post

    Hi Tabassum,

    In order to be able to attach a project, you need to open a support ticket. Please paste here the ID of the ticket and I will look into the problem straight away.

    Looking forward to your reply.

    All the best,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
Back to Top