Virtual Scrolling Not working as expected

2 posts, 0 answers
  1. Platinum
    Platinum avatar
    31 posts
    Member since:
    Jan 2008

    Posted 18 Nov 2014 Link to this post


    I am using Telerik Asp.Net for Ajax version 2014.3.1024.40.

    I have enabled virtual scrolling the drop down list as below. I am able to see only the Afghanistan, all the others are shown as blank value. However i disable the virtual scrolling, i am able to see all the entries. Please let me know whats the issue and how to fix it ?

    <telerik:RadDropDownList ID="rdlCountry" DefaultMessage="---" EnableVirtualScrolling="true"  runat="server"  >
                                                                    <telerik:DropDownListItem Text="Afghanistan" />
                                                                    <telerik:DropDownListItem Text="Albania"  />
                                                                    <telerik:DropDownListItem Text="Algeria" />
                                                                    <telerik:DropDownListItem Text="Andorra" />
                                                                    <telerik:DropDownListItem Text="Angola" />
                                                                    <telerik:DropDownListItem Text="Antigua & Deps" />
                                                                    <telerik:DropDownListItem Text="Argentina" />                                                             
  2. Nencho
    Nencho avatar
    1646 posts

    Posted 21 Nov 2014 Link to this post


    In order to achieve the proper behavior of the control, when the VirtualScrolling is enabled you need to set the DropDownHeigth of the RadDropDownList, so that the control could correctly calculate the portion of items to load. This is described in our help article below:


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top