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

text in tab with 2 different colors

1 Answer 61 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
maha
Top achievements
Rank 1
maha asked on 02 Mar 2011, 02:25 PM

I wanna write in one of my tab text the following " Imagazine *new* ".
But i want the *new* text to be in certain color other than the one am using for Imagazine. I tried the following :

Text="iMagazine <font color='FF FA 03'>*new*</font>"
But when i try to open the its RadpageView i doesnt show its content.

Is there another way to do that without affecting the pageview?

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 02 Mar 2011, 06:00 PM
Hi maha,

I tried the following code and it seems to work fine. The text-color "new"  is changed to yellow and the PageViews are rendered corectly. Here is the code that i tried. Am I missing something?
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="multipage1">
           <Tabs>
               <telerik:RadTab Text="tab1" PageViewID="PageView1">
               </telerik:RadTab>
               <telerik:RadTab Text="Magazine <font color='#FFFA03'>*new*</font>" PageViewID="PageView2">
               </telerik:RadTab>
           </Tabs>
       </telerik:RadTabStrip>
       <telerik:RadMultiPage ID="multipage1" runat="server">
           <telerik:RadPageView runat="server" ID="PageView1">
               1</telerik:RadPageView>
           <telerik:RadPageView runat="server" ID="PageView2">
               2</telerik:RadPageView>
       </telerik:RadMultiPage>
 

Kind regards,
Kate
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
TabStrip
Asked by
maha
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or