Is there a way to change the tabstripplacement to the left on the document host?

4 posts, 0 answers
  1. Lana
    Lana avatar
    13 posts
    Member since:
    Jul 2010

    Posted 22 Aug 2011 Link to this post

    I am using multiple docking panes in my page, but would like the tabs for the main document host tabs to be placed on the left instead of the top.  Is this possible?  I have tried setting the TabStripPlacement="Left", but it doesn't do anything.

    <telerik:RadDocking x:Name="radDocking" telerik:StyleManager.Theme="Windows7" Unpin="radDocking_Unpin" Pin="radDocking_Pin" AllowUnsafeMode="True" Opacity="0.95" Margin="0,0,0,0" VerticalAlignment="Top">

    <telerik:RadDocking.DocumentHost>

    <telerik:RadSplitContainer>

    <telerik:RadPaneGroup x:Name="radTabs" TabStripPlacement="Left" TabOrientation="Horizontal" AllTabsEqualHeight="True" Background="White" Margin="0" SelectedIndex="1" TabIndex="0" Align="Left" HorizontalContentAlignment="Center">

    <telerik:RadPane HeaderTemplate="{StaticResource TabHeader}" Header="Policy Information" x:Name="tabPolicyInfo" Margin="0,0,2,0" CanUserClose="False" CanFloat="False" IsSelected="True">

    </telerik:RadPane>
    </telerik:RadSplitContainer>
    </telerik:RadDocking.DocumentHost>
    </telerik:RadDocking>

    Thanks,
    Lana

  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 24 Aug 2011 Link to this post

    Hello Lana,

    The TabStripPlacement is inherited property from the Tab Control and it is not supported by the Docking control. Unfortunately, this cannot be achieved with the current implementation of the control.
    Sorry for the caused inconvenience.

    Regards,
    Konstantina
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. Mathieu
    Mathieu avatar
    15 posts
    Member since:
    May 2014

    Posted 15 Dec 2016 Link to this post

    Hello,

     

    What about this "implementation" 5 YEARS later?

     

  4. Nasko
    Admin
    Nasko avatar
    679 posts

    Posted 20 Dec 2016 Link to this post

    Hi Mathieu,

    As mentioned in the previous response the TabStripPlacement property is inherited by the RadTabControl and it is not implemented in the RadPaneGroup's source code so it doesn't work with the control. However, in order to achieve the desired effect you can modify the default Template of RadDocking.

    In order to make the document panes look like as desired we should modify the DocumentHostTemplate of the RadDocumentPane to mimic the PaneBottomTemplate instead of PaneDocumentHostTemplate. Please, check the attached sample that demonstrates that approach - the sample uses Implicit Styles

    Hope this helps.

    Regards,
    Nasko
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top