This is a migrated thread and some comments may be shown as answers.

Problem with Virtual Scrolling when databinding to ObjectDataSource

2 Answers 36 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Evgeniya
Top achievements
Rank 1
Evgeniya asked on 29 Mar 2016, 06:56 PM

Hi,

 

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 Answers, 1 is accepted

Sort by
0
Evgeniya
Top achievements
Rank 1
answered on 29 Mar 2016, 09:11 PM

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?

0
Veselin Tsvetanov
Telerik team
answered on 01 Apr 2016, 11:10 AM
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.

Regards,
Veselin Tsvetanov
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
DropDownList
Asked by
Evgeniya
Top achievements
Rank 1
Answers by
Evgeniya
Top achievements
Rank 1
Veselin Tsvetanov
Telerik team
Share this question
or