This is a migrated thread and some comments may be shown as answers.
Applying Theme Hides The Contents of RadPane
1 Answer 33 Views
This is a migrated thread and some comments may be shown as answers.
Tabassum
Top achievements
Rank 1
Tabassum asked on 24 Sep 2011, 11:45 AM
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>
  



1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 29 Sep 2011, 07:18 AM
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 >>
Asked by
Tabassum
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or