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

Does RadTabstrip supports multiline text in its tabs?

4 Answers 116 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 02 Apr 2009, 08:34 PM
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?

4 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 06 Apr 2009, 01:57 PM
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.
0
Martin
Top achievements
Rank 1
answered on 06 Apr 2009, 03:13 PM
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.
0
Accepted
Paul
Telerik team
answered on 07 Apr 2009, 07:28 AM
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.
0
Martin
Top achievements
Rank 1
answered on 09 Apr 2009, 02:12 PM
Thank you Paul. This resolved the problem.
Tags
TabStrip
Asked by
Martin
Top achievements
Rank 1
Answers by
Paul
Telerik team
Martin
Top achievements
Rank 1
Share this question
or