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

[Solved] Vertical scroll bar in panel

2 Answers 200 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jim
Top achievements
Rank 1
Jim asked on 19 Jan 2010, 12:07 AM
Is it possible to put a vertical scroll bar whithin an individual panel after the number of subItems exceeds a certain amount?

2 Answers, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 20 Jan 2010, 01:07 PM
Hello Jim,

You can achieve this effect by adding the following style to the page:

.t-panelbar .t-group
{
    height:100px;
    overflow:auto;
}


This will make all child groups 100px in height and scrollable.

If you want to apply the style to a specific item, you can target it by specifying its ID, like this

C#: item.HtmlAttributes(new { id= "scrollable-item" })
CSS: #scrollable-item .t-group { height:100px; overflow:auto; }

All the best,
Alex Gyoshev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Med
Top achievements
Rank 1
answered on 11 May 2012, 10:35 AM
Hi,
How to do it using vb ?
How display vertical and horizontal scroll bar of a grid that is inside a rad panel !?
Thank you
Tags
PanelBar
Asked by
Jim
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Med
Top achievements
Rank 1
Share this question
or