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

Hiding the MultiView border for the selected tab

3 Answers 140 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Garee
Top achievements
Rank 2
Garee asked on 09 Sep 2008, 03:58 PM
I have a RadTabStrip hooked up to a RadMultiPage, with a 1px border set on the RadMultiPage. I've then used some CSS on the RadMultiPage control (margin-top: -1px) so that it aligns properly to the bottom of the tabstrip.

This looks great, except the border is continous on the RadMultiPage and doesn't break for the selected tab. I'm trying to get this to work with the "Gray" skin, but I'm also seeing similar behaviour with the "Vista" skin.

I've had a search through the forums and can't find any posts on this, although there is a post for the old RadControl which describes the margin solution I'm already using.

I'm sure I didn't used to have this problem with the pre-Prometheus version, so maybe it's something new with the ASP.NET AJAX version?

3 Answers, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 10 Sep 2008, 01:53 PM
Hi Gary,

Please check the attached sample project which shows the needed approach. Download it and give it a try.

Kind regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Garee
Top achievements
Rank 2
answered on 10 Sep 2008, 02:01 PM
Hi Yana,

Many thanks - that's exactly what I'm after.

Great support :-)

Gary
0
Dave
Top achievements
Rank 1
answered on 25 Nov 2009, 11:26 PM
This does not appear to work for Q2 2009 SP1.

Is there a workaround for this?

-------------------------

Solution
: Note that the attached approach does not work with master pages (or similar contexts) as the id is prepended with info from up the chain and cannot be referenced with '#RadMultiPage1'.  You need to set the CssClass to RadMultiPage on the multi page and use the css dot notation '.RadMultiPage'
Tags
TabStrip
Asked by
Garee
Top achievements
Rank 2
Answers by
Yana
Telerik team
Garee
Top achievements
Rank 2
Dave
Top achievements
Rank 1
Share this question
or