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

RadOutlookBar with RadTabControl

1 Answer 70 Views
OutlookBar
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 13 Dec 2011, 03:08 PM
Hi everybody.
I created the simple example:

<UserControl x:Class="SilverlightApplication1.MainPage"
    xmlns:navigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
    mc:Ignorable="d"
    d:DesignHeight="500" d:DesignWidth="800">
 
    <Grid x:Name="LayoutRoot" Background="White">
        <navigation:RadTabControl>
            <navigation:RadTabItem Header="Tab 1">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="*"></RowDefinition>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button
                        HorizontalAlignment="Stretch"
                        VerticalAlignment="Stretch"
                        Content="Test"></Button>
                    <navigation:RadOutlookBar
                        Grid.Row="0"
                        Grid.Column="1"
                        Width="500"
                        IsVerticalResizerVisible="False"
                        OverflowMode="Wrap"
                        MaxWidth="700">
                        <navigation:RadOutlookBarItem Header="test item">
                            <TextBox
                                Text="test text"
                                Width="300"
                                Height="200" />
                        </navigation:RadOutlookBarItem>
                    </navigation:RadOutlookBar>
                </Grid>
            </navigation:RadTabItem>
            <navigation:RadTabItem Header="Tab 2"></navigation:RadTabItem>
        </navigation:RadTabControl>
    </Grid>
</UserControl>

There are 2 tabs, the first one contains the grid with OutlookBar.
1. Minimize the OutlookBar.
2. Go to the second tab.
3. Return back to first tab.
4. Try to open (maximize) OutlookBar.
5. It doesn't work.

How can I open it, please advise.

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 16 Dec 2011, 01:47 PM
Hello Andrey,

 Some of the properties of the RadOutlookBar are not properly reassigned when the first tab is loaded again.
The good news is that you can use the IsContentPreserved property of the RadTabControl to True which will save and load your first tab's configuration fine. Hope this is suitable for you.

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
OutlookBar
Asked by
Andrey
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or