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

Skins and scroll-bars

0 Answers 100 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 07 Oct 2008, 09:00 PM
Not a question but a piece of information.  I have noticed that when the height of a group of child items in a RadPanelBar is set to be smaller than the space needed, a scroll-bar appears ... some of the time!   Using the Inox skin, I see a scroll-bar whenever my child items exceed the specified height (as it should); however, with the Web20 skin, it's missing sometimes.  Also, it didn't always appear in the custom skin that I made (which I had based on the Web20 skin).

The answer was to add the following style directive to my CSS file:

.RadPanelBar_mySkinName .rpGroup
{
    overflow-x: hidden;
    overflow-y: auto;
}

This works for custom skins, although I haven't yet been able to override the default skins.  Editions made to the PanelBar.Web20.css file (in ~\Program Files\telerik\RadControls for ASPNET AJAX Q2 2008\Skins\Web20), for example, don't seem to appear in web-pages where the default Web20 skin is used.

No answers yet. Maybe you can help?

Tags
PanelBar
Asked by
Ed
Top achievements
Rank 1
Share this question
or