RadListBox scroll

2 posts, 0 answers
  1. Patrice VIALOR
    Patrice VIALOR  avatar
    12 posts
    Member since:
    Dec 2010

    Posted 22 Jun 2013 Link to this post

    Hello,

    There is a bug in the ScrollingHelper code, which prevent using it with a RadListBox. This bug is already reporter in PITS :
    http://www.telerik.com/support/pits.aspx#/details/Issue=15157

    After spending some time understanding the Telerik code, I found what is buggy : the IScrollingInfo wrapper returns wrong values for the scroll viewer viewport, leading to incorrect drag zone calculation.... Moreover, the code calculating the zones seems buggy too.

    Please find the correction of the telerik code in order to use the autoscroll feature with RadListBox : 
    http://www.petit-fichier.fr/2013/06/22/debugautoscrollhorizontal/debugautoscrollhorizontal.rar

    I Made little improvements : 
      - I add a attached Property "Directions" letting users restrict the scroll behavior to horizontal / vertical / or both.
      - I add some code in order to let the scroll being a little more natural, by computing a scroll speed factor based on the mouse position.
      - I add a little optimization by computing scroll zones only while starting the drag.

    However, I have to report some other bugs :
      - On the attached sample, there is a bug with the horizontal RadListBox, when the scroll is on the middle, if you select an Item, the RadListBox automatically move the scrollbar and the selected item appaears on the right side of the ListBox... I suspect a buggy behavior of the "BringIntoView" code on the internal PanelHelper class (method MakeVisible)
       - Already reported this PITS (http://www.telerik.com/support/pits.aspx#/details/Issue=14454) there is no visual cue for the last selected item... This is really annoying. I hope this Issue could be solved asap.

    Bests,

    Raphaël.
  2. George
    Admin
    George avatar
    1332 posts

    Posted 26 Jun 2013 Link to this post

    Hi Raphaël,

    Thank you for your feedback, we appreciate sharing your comments about this issue. We will concern your remarks when start fixing the problem with RadListBox scrolling.

    Please, do not hesitate to contact us if any additional information is required.

    Regards,
    George
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top