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

RadTabStrip skin question

4 Answers 191 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 17 Jul 2008, 04:01 PM
I'm using a RadTabStrip with HorizontalTop orientation. I want there to be a horizontal line separating the RadTabStrip from the RadMultiPage below it for the FULL WIDTH of the RadTabStrip (except for the Selected Tab). This happened when I used the Office 2007 skin. But when I base my skin on the Outlook skin (for other reasons) the separating line is only there for unselected tabs, not for the part of the RadTabStrip that extends to the right of the tabs I have defined. Which part of the skin is it that makes the line extend to the right as far as the width of the RadTabStrip?

Ben

4 Answers, 1 is accepted

Sort by
0
Ben
Top achievements
Rank 1
answered on 17 Jul 2008, 04:27 PM
Correction: my previous post says that the Office 2007 skin does what I want, but actually it doesn't mark the width of the RadTabStrip with a line but with a block of background colour. How can I modify a skin to make the horizontal line I described in my previous post?

Ben
0
Alex Gyoshev
Telerik team
answered on 21 Jul 2008, 02:44 PM
Hi Ben,

You should add a one-pixel background image for the .rtsLevel1 CSS class, e.g.:
.RadTabStrip_Office2007 .rtsLevel1 
    background#bbd7fa url('TabStrip/Background.gif'repeat-x 0 100%; 

The code above is copied directly from the Telerik.Web.UI assembly and will be available with the Q2 release - so there will be a line at the bottom of the Office2007 tabstrip skin.

Regards,
Alex
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
DAVE
Top achievements
Rank 1
answered on 16 Feb 2011, 05:45 AM
I'm trying to do the same thing, that is, display a line extending from the last tab to the 100% width of the page but haven't been able to get it working.  I see no background.gif file anywhere in the Skins folder or subfolders.  Should there be a file there somewhere?

Using ASP.NET AJAX Q1 2010 version.
0
Yana
Telerik team
answered on 18 Feb 2011, 04:15 PM
Hi Dave,

I've attached a simple page demonstrating the needed approach, please download it and give it a try.

Kind regards,
Yana
the Telerik team
Tags
TabStrip
Asked by
Ben
Top achievements
Rank 1
Answers by
Ben
Top achievements
Rank 1
Alex Gyoshev
Telerik team
DAVE
Top achievements
Rank 1
Yana
Telerik team
Share this question
or