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

    Hi,

    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"  >
                                                                <Items>
                                                                    <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" />                                                             
                                                                </Items>
                                                            </telerik:RadDropDownList>
  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 21 Nov 2014 Link to this post

    Hello,

    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:

    http://www.telerik.com/help/aspnet-ajax/dropdownlist-functionality-virtualscrolling.html

    Regards,
    Nencho
    Telerik
     

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top