Listbox position

2 posts, 0 answers
  1. Jeroen Eikmans
    Jeroen Eikmans avatar
    50 posts
    Member since:
    May 2009

    Posted 05 Aug 2010 Link to this post


    I have a RadSplitter with 2 RadPanes. In one of the panes there is a RadListBox as shown below.
     -> 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
  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 09 Aug 2010 Link to this post

    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
Back to Top