RadPane Header - extra header/tab on bottom

4 posts, 0 answers
  1. John
    John avatar
    18 posts
    Member since:
    Mar 2013

    Posted 20 Nov 2013 Link to this post

    Hello folks,

    I work on a big Silverlight application utilizing Telerik controls.  We recently updated from Metro theme to Windows8 theme.  This has caused various issues throughout the application that I'm finding daily.

    One such issue that I haven't readily resolved yet is on a RadPane.  A tab or secondary header was added to the bottom of a RadPane when we switched over (see attachment).  It's directly tied to the "header" but like appearing as a bottom tab of sorts. If I commented out the header BOTH the actual header and secondary bottom tab would disappear.  This "stowaway header/tab" wasn't an issue before switching to Windows8 theme.

    Is there an attribute to address this?  I can not discern one.  Below is the original coding:

    <telerik:RadPaneGroup>
    <!--Query List-->
    <telerik:RadPane Header="{Binding QueryListHeader}"
    IsPinned="{Binding IsQueryListPinned, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
    CanFloat="False"
    CanUserClose="False"
    CanDockInDocumentHost="False"
    Visibility="{Binding InQueryBuilderMode,Converter={StaticResource BooleanToVisibilityConverter}, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
    ContextMenuTemplate="{x:Null}">
    <telerik:RadTreeView  Name="QueryCategoryTreeView"
     IsExpandOnSingleClickEnabled="True"
     ItemPrepared="QueryCategoryTreeView_ItemPrepared"
     MinWidth="200"
     ItemsSource="{Binding Path=CategorySource}"
     ScrollViewer.VerticalScrollBarVisibility="Auto"
     ScrollViewer.HorizontalScrollBarVisibility="Auto"
     SelectedItem="{Binding TreeSelectedItem, Mode=TwoWay}"
     SelectedValue="{Binding TreeSelectedValue, Mode=TwoWay}"
     ItemTemplate="{StaticResource parentTemplate}"
     Visibility="{Binding InQueryBuilderMode,Converter={StaticResource BooleanToVisibilityConverter}, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
     BorderThickness="0"
     Margin="2" />
    </telerik:RadPane>
    <!--Related Records List-->
    <telerik:RadPane IsPinned="{Binding IsRelatedRecordsListPinned, Mode=TwoWay}"
    CanFloat="False"
    CanUserClose="False"
    CanDockInDocumentHost="False"
    ContextMenuTemplate="{x:Null}">
    <Grid Margin="2">
    <Grid.RowDefinitions>
    <RowDefinition Height="*" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <ListBox SelectedItem="{Binding ListViewModel.SelectedItem, Mode=TwoWay}"
    ItemsSource="{Binding ListViewModel.Entities}"
    DisplayMemberPath="QueryDetailResource.Name"
    BorderThickness="0" />
    </Grid>
    </telerik:RadPane>
    </telerik:RadPaneGroup>

    Any suggestions would be greatly appreciated.

    Kindly,
    John Gnotek
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 25 Nov 2013 Link to this post

    Hello,

    The described issue is an expected behavior in the current and in the previous version of RadDocking. When placing two RadPanes in one RadPaneGroup the tabs in the bottom are shown in order to be able to navigate trough the two Panes. When one name has its Header/Title set and the other not there are two tabs one with the header text and one empty.You can verify that by hovering the mouse over that area as shown in the attached screenshot. We tested the issue with both our latest Windows8 and our previous themes and it both cases the described scenario works as described.

    By design in the RadDocking control when more then one Pane is placed inside a PaneGroup the TabStip is shown.

    Regards,
    Vladi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. John
    John avatar
    18 posts
    Member since:
    Mar 2013

    Posted 25 Nov 2013 Link to this post

    Thank you for the reply Vladi, but what is the workaround?  We didn't have that stowaway bottom tab when we were running Metro theme.  It only appeared when we upgraded to Windows8.  How do I get rid of it now?

    Thank you,
    John Gnotek
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 26 Nov 2013 Link to this post

    Hello,

    As previously mentioned the described behavior is an expected one and could be observed in both the old and the new themes. I attached the test project in which we tested the issue to my response, in which the behavior could be reproduced with the old Metro theme. It is possible that you have made customizations to the theme that could have lead to that behavior.

    If you could reproduce the issue in a sample project and send it in a support thread it would be very helpful in determining why it was working with that unexpected behavior before updating to the latest version.

    Regards,
    Vladi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top