Problem with Virtual Scrolling when databinding to ObjectDataSource

3 posts, 0 answers
  1. Evgeniya
    Evgeniya avatar
    6 posts
    Member since:
    Sep 2015

    Posted 29 Mar 2016 Link to this post



    RadDropDownList does not show the list of items when EnableVirtualScrolling="true". For my data source I'm using ObjectDataSource. Radgrid is also bound to this data source.  I am working with UI for ASP.NET AJAX, v. 2014.3.1209.40


    Any work around?  


    <telerik:RadDropDownList  id="ddlBlockDeleteHigh" runat="server" DataValueField="CODE" DataTextField="CODE" DataSourceID="ObjectDataSource1"  EnableVirtualScrolling="true" DropDownHeight="200px" Width="100px" ></telerik:RadDropDownList>


    and here's the code for Object Data Source:


    <asp:ObjectDataSource id="ObjectDataSource1" runat="server" UpdateMethod="Update" TypeName="VUE.CouponOracleDataObject" SelectMethod="Select" OldValuesParameterFormatString="original_{0}" InsertMethod="Insert" DeleteMethod="Delete"></asp:ObjectDataSource>

  2. Evgeniya
    Evgeniya avatar
    6 posts
    Member since:
    Sep 2015

    Posted 29 Mar 2016 in reply to Evgeniya Link to this post

    The actual problem turned out to be in the number of records I am trying to load in the RadDropDownList. In my case, the control stops showing the items in the dropdown at about 30 000 records. On the same page, I also load about 50 000 records in a radgrid, using EnableVirtualization="true" property. The grid is working properly but the dropdown is not. If I remove EnableVirtualScrolling="true" property from the dropdown the problem disapears but the page takes a long time to load.


    Any idea how to work around this problem?

  3. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    561 posts

    Posted 01 Apr 2016 Link to this post

    Hi Evgeniya,

    Thank you for reporting this issue. We managed to reproduce it with ca. 63 000 items bound to the RadDropDownList control. You can track the bug status in our Feedback portal.

    We have also updated your Telerik points in gratitude for the reported bug.

    Veselin Tsvetanov
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top