Problem with Tab Control

2 posts, 0 answers
  1. chinu
    chinu avatar
    3 posts
    Member since:
    Jan 2009

    Posted 07 Jan 2009 Link to this post

    I am facing a problem with tab control.. Actually i have made a tab control and fixed its height and width(700) .. and i  added new tab items(having grids in them).. the problem arises whenever i open say '20' no. of tabs each having width '200'.In this case as i continue to open a new tab i cant see the header(which contains some controls like image and textblock on which i have provided some functionality for my project) that i  have put on my tab item even when i move my mouse to any of these tab items.. and i also want all these tab items.. to be aligned in a single row.. not in a stack fashion..
    Here is the xaml code of my tabControl.. 
    <ScrollViewer x:Name="pnlContent" Width="493" Height="536" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Disabled" Grid.Row="2" Grid.Column="4" Grid.RowSpan="1">
                <telerik:RadTabControl x:Name="ContentTabs" Height="Auto" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch"  ></telerik:RadTabControl>
    I want the tab items to be displayed in their original size(obviously along with header ) whenever user clicks on any tab item.... Can u help me??
    Deepak   [Developer.. (Cerebrata Software(]
  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 07 Jan 2009 Link to this post

    Hello Deepak,

    Currently the TabControl will squeeze the items into the available space, and indeed bigger items will not be visible.

    Unfortunately I cannot offer a workaround for this problem.

    Future versions of the control will support more/bigger items either with a scrollable area or DropDown.

    Sorry for the inconvenience.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top