Does RadTabstrip supports multiline text in its tabs?

5 posts, 1 answers
  1. Martin
    Martin avatar
    84 posts
    Member since:
    Apr 2009

    Posted 02 Apr 2009 Link to this post

    I know the WinForm version does. What about WebForm version? I've looked everywhere and did not find anything. Do you guys have this feature?
  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 06 Apr 2009 Link to this post

    Hello Martin,

    We do not recommend using multiline text in the tabs, as the current skins use fixed height images and you will need to make custom skin(s) for this case.

    Greetings,
    Paul
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. Martin
    Martin avatar
    84 posts
    Member since:
    Apr 2009

    Posted 06 Apr 2009 Link to this post

    Hi Paul,

    Thank you for your response.
    We will make the necessary skins alternations if we have to.
    How can I write the code to display text in a multline per tab? We are evaluating the product and this is an important feature for us to have.
  4. Answer
    Paul
    Admin
    Paul avatar
    4281 posts

    Posted 07 Apr 2009 Link to this post

    Hello Martin,

    Please find below a sample code snippet that shows the needed approach.

    <html xmlns="http://www.w3.org/1999/xhtml">  
    <head id="Head1" runat="server">  
        <title>Untitled Page</title> 
        <style type="text/css">  
            div.RadTabStrip .rtsTxt  
            {  
                white-space: normal;  
            }  
        </style> 
    </head> 
    <body> 
        <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server">  
            <Tabs> 
                <telerik:RadTab runat="server" Text="Root RadTab1 Root RadTab1 Root RadTab1 Root RadTab1" 
                    Width="250px">  
                </telerik:RadTab> 
                <telerik:RadTab runat="server" Text="Root RadTab2">  
                </telerik:RadTab> 
            </Tabs> 
        </telerik:RadTabStrip> 
        </form> 
    </body> 
    </html> 


    Greetings,
    Paul
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  5. Martin
    Martin avatar
    84 posts
    Member since:
    Apr 2009

    Posted 09 Apr 2009 Link to this post

    Thank you Paul. This resolved the problem.
Back to Top