text in tab with 2 different colors

2 posts, 0 answers
  1. maha
    maha avatar
    44 posts
    Member since:
    Jun 2010

    Posted 02 Mar 2011 Link to this post

    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?
  2. Kate
    Kate avatar
    1898 posts

    Posted 02 Mar 2011 Link to this post

    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">
                   <telerik:RadTab Text="tab1" PageViewID="PageView1">
                   <telerik:RadTab Text="Magazine <font color='#FFFA03'>*new*</font>" PageViewID="PageView2">
           <telerik:RadMultiPage ID="multipage1" runat="server">
               <telerik:RadPageView runat="server" ID="PageView1">
               <telerik:RadPageView runat="server" ID="PageView2">

    Kind regards,
    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!
Back to Top