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

Scroll bar not appear

2 Answers 78 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Andy Ho
Top achievements
Rank 1
Andy Ho asked on 11 Dec 2012, 06:27 AM

Hi,

I have a RadPanelBar, which includes several panelitems.  I put a radtreeview under each of the item. then add the first-level treenodes to them programmatically, and the node Expandmode has been set to "ServerSideCallBack" so that the second level node can be expanded on demand.

The program works ok but the only issue is the Scrollbar does not appear automartcally when I expanded the treenode and the content exceed the height. But if I set the Expand="True" and "Selected="true" at the panelitem then the scrollbar appear. But logically only one can be expanded and selected, how to fix this?

I am using the latest build (2012.3.1205.35) and tried on IE 9/Google Chrome, same result

<telerik:RadPanelBar ID="panelBarMain" runat="server" Width="100%"
Height="100%" ExpandMode="FullExpandedItem"
Skin="Office2007"><BR><Items><BR><telerik:RadPanelItem
Value="Trackings" Text="Trackings"
Visible="false"><BR><ContentTemplate><BR><telerik:RadTreeView
ID="treeTracking"
runat="server"><BR><Nodes><BR></Nodes><BR></telerik:RadTreeView><BR></ContentTemplate><BR></telerik:RadPanelItem><BR><telerik:RadPanelItem
Value="Tenders" Text="Tenders" Visible="false" Expanded="true"
Selected="true"><BR><ContentTemplate><BR><telerik:RadTreeView
ID="treeTenders"
runat="server"><BR></telerik:RadTreeView><BR></ContentTemplate><BR></Items><BR></telerik:RadPanelBar>

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Zhekov
Telerik team
answered on 14 Dec 2012, 09:33 AM
Hello, Andy.

The issue is partially related to a change in the tree view and the panel bar behaviour. In particular it's related to relative content in scrollable container.

For now the quickest solution is to use the following snippet:

.RadPanelBar .rpGroup {
    position: relative;
}

On the long term, this snippet will be incorporated in the base stylesheets of the PanelBar and will be included with future releases. We are also looking into the tree view part and we'll fix that too.

Regards,
Ivan Zhekov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Andy Ho
Top achievements
Rank 1
answered on 17 Dec 2012, 12:58 AM
Thanks. It works.
Tags
PanelBar
Asked by
Andy Ho
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Andy Ho
Top achievements
Rank 1
Share this question
or