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

Multiline tab text?

3 Answers 130 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 08 Aug 2012, 01:33 PM
I would like to have something like:
Line1
Line2

for each tab text. I can separate the lines by using <br /> (Line1<br />Line2) but the tabs do not look right. It looks like two tabs are placed on top of each other instead of one tab that is twice as high.

The best I could find on this issue is a forum post from 2009 where you have to manipulate the skins. Is there any better solution now (2012 version)?

3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 08 Aug 2012, 02:48 PM
Hello Daniel,

Unfortunately, at this time, the desired functionality is not a supported scenario for the RadTabStrip control.

Greetings,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Vasssek
Top achievements
Rank 1
answered on 05 Dec 2015, 06:37 PM

Hello,

I wonder if there a solution for this issue at the end of 2015 ? It can be just for Silk or Glow skin which use css3.

Please provide to us some example...

Thank you

Best regards

Vasssek

0
Nencho
Telerik team
answered on 09 Dec 2015, 02:00 PM
Hello Daniel,

You can easily achieve the desired functionality if you apply the white-space style rule to normal of the rtsLink class selector. Please consider the below implementation:

<style type="text/css">
        html .RadTabStrip .rtsLink {
            white-space: normal;
        }
 </style>
 <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Silk" Width="500">
                <Tabs>
                    <telerik:RadTab Text="General Information" Width="110px"></telerik:RadTab>
                    <telerik:RadTab Text="Category Information" Width="110px"></telerik:RadTab>
</telerik:RadTabStrip>


Regards,
Nencho
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
TabStrip
Asked by
Dan
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Vasssek
Top achievements
Rank 1
Share this question
or