EnableVirtualScrolling vertical scrollbar never reaches bottom

3 posts, 1 answers
  1. Austin Jones
    Austin Jones avatar
    4 posts
    Member since:
    Dec 2009

    Posted 22 Oct 2010 Link to this post

    We have implemented multiple RadComboBox controls in our solution that load items on-demand from web services.  We have marked all of them with EnableVirtualScrolling=true.  Everything is working in terms of the batch load of items when scrolling, however we are noticing strange scrolling behavior when reaching the end of the list of items.  When the vertical scrollbar reaches the last item (all items have been loaded), it jumps back up as if there is more area to scroll.  Thus, it is impossible to scroll to the bottom of the drop-down area.  We have tried setting both Height and MaxHeight properties, but the behavior is the same.  I noticed in the online demos for loadondemand virtual scrolling that the drop-downs indeed scroll to the bottom without issue. 

    For some structural context, our combo box controls exist on a nested usercontrol form that is contained within a RadSplitter pane.  There is no custom CSS applied to the comobo boxes themselves.  Here is sample markup for one of our comboboxes:

    <telerik:RadComboBox ID="SourceCombo" runat="server"         
          EmptyMessage="Select a source"           
     <WebServiceSettings Path="~/ES/LookupMethods.aspx" Method="GetSources" />

    Any suggestions on what we might be doing wrong?

    FYI - we are using the latest SP build of the telerik controls, .NET 4.0, VS2010.

  2. Answer
    Kalina avatar
    918 posts

    Posted 28 Oct 2010 Link to this post

    Hi Austin Jones,

    I tried to reproduce the issue that you describe but unfortunately without success.
    Could you please find the test page that I used and give it a try?
    (I tested this page under Internet Explorer 8,  Firefox 3.6 and Chrome 7.0.

    Maybe there is something different in your implementation that causes this issue to appear?

    All the best,
    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
  3. Austin Jones
    Austin Jones avatar
    4 posts
    Member since:
    Dec 2009

    Posted 28 Oct 2010 Link to this post

    From your example, I was able to determine our issue.  In our web methods we were not setting the EndOfItems boolean property in our RadComboBoxData response.  I tested setting that property and it now stops scrolling when the last item is reached.  Makes sense, but must have missed that in the documentation/examples.


Back to Top