This is a migrated thread and some comments may be shown as answers.
Listbox position
1 Answer 21 Views
This is a migrated thread and some comments may be shown as answers.
Jeroen Eikmans
Top achievements
Rank 1
Jeroen Eikmans asked on 05 Aug 2010, 12:56 PM
Hello,

I have a RadSplitter with 2 RadPanes. In one of the panes there is a RadListBox as shown below.
RadPane
 -> RadAjaxPanel
     -> PlaceHolder
         -> Label 
         -> Label (about 20 of them)
         -> RadListBox

When i view this page in Firefox or in IE8 Compatibility mode off, when is scroll (the panel has a scrollbar) everything is working fine.
However when i view the page in IE7 or IE8 Compatibility mode ON, when i scroll the labels move up and down with my scrolling as it's supposed to but the RadListbox isn't scrolling with them.

I've found this KB-Item and this Forum-Item and i implemented the solution (setting Position:Relative of the RadPane via the CSS-class) as described in the KB-Item but to no avail, the RadListBox isn't scrolling along with the rest.

Is there something else i need to set as well?

I'm using version 2010.1.519.35 of Telerik.Web.UI

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 09 Aug 2010, 08:39 AM
Hello Roel Martens,

The issue that you experience is due to annoying position:relative bug in IE6 and 7. When container with position:relative is inside scrollable container it will receive position fixed when scrolling. This is precisely the problem that you experience (RadListBox has position:relative). The fix is to apply position:relative to all RadListBox's parent containers that are scrollable. This means all containers that have scroll bar, not necessarily the RadSplitter.  More information on this bug can be found here.

Sincerely yours,
Genady Sergeev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Jeroen Eikmans
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or