Hi Telerik team,
I have some problem about performance of RadComboBox. I try to bind 1000 rows to both RadComboBox and ASP DropdownList.
Then select the item by use arrow up and down to compare the performance of both.
The result I got is the RadCombobox is very slow reaction on my key press but not in ASP DropdownList.
Any suggestion for this problem?
.ASPX
I have some problem about performance of RadComboBox. I try to bind 1000 rows to both RadComboBox and ASP DropdownList.
Then select the item by use arrow up and down to compare the performance of both.
The result I got is the RadCombobox is very slow reaction on my key press but not in ASP DropdownList.
Any suggestion for this problem?
.ASPX
RadComboBox:
<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="200px" Height="200px"
AllowCustomText="false" ShowToggleImage="True" ShowMoreResultsBox="true"
EnableLoadOnDemand="True" MarkFirstMatch="True"
EnableVirtualScrolling="true" >
</telerik:RadComboBox>
<br />
ASP Dropdownlist:
<asp:DropDownList ID="dd" runat="server" DataTextField="ClientID"
DataValueField="ClientID" />
.CS
protected
void Page_Load(object sender, EventArgs e)
{
DefaultValues();
}
private void DefaultValues()
{
for (int i = 0; i < 3000; i++)
{
RadComboBox1.Items.Add(
new RadComboBoxItem(i.ToString(), i.ToString()));
dd.Items.Add(
new ListItem(i.ToString(), i.ToString()));
}
}
Thanks in advance,
-Toi