Dear friends,
I tried to use 2 column radcombobox with "product name" and "product code". data filed is ID column. For 50 or 100 records its fine. but 1000 entries and 2 column are killing people on local computer and also on server. I tried to implement "google like" search, as you type web service would list available products, I succeeded but its also slow and some client computers says:
I dont know why this message appears but, at the moment I dont care. All I need to solve is 2 column searchable fast combobox. I also tried to use regular radcombo with 1 column only (productname) its also slow, even while dropping down.
Can someone confirms this situation is normal ? What kind of searchable THING should I use. Is the radcombobox wrong component for this ?
best regards.
heres the code:
<telerik:RadComboBox ID="cboProducts" runat="server"
DataSourceID="SqlDataSourceProducts" DataTextField="productname"
DataValueField="guidid" Filter="StartsWith">
</telerik:RadComboBox>
<asp:SqlDataSource ID="SqlDataSourceProducts" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringNET %>"
ProviderName="<%$ ConnectionStrings:ConnectionStringNET.ProviderName %>" DataSourceMode="Dataset"
EnableCaching="true"
SelectCommand="SELECT guidid, [productname], productcode FROM productsORDER BY [productname]">
<SelectParameters>
</SelectParameters>
</asp:SqlDataSource>
I tried to use 2 column radcombobox with "product name" and "product code". data filed is ID column. For 50 or 100 records its fine. but 1000 entries and 2 column are killing people on local computer and also on server. I tried to implement "google like" search, as you type web service would list available products, I succeeded but its also slow and some client computers says:
Windows
Internet Explorer
---------------------------
Stop running this script?
A script on
this page is causing Internet Explorer to run slowly.
If it continues to run, your computer might become
unresponsive.
I dont know why this message appears but, at the moment I dont care. All I need to solve is 2 column searchable fast combobox. I also tried to use regular radcombo with 1 column only (productname) its also slow, even while dropping down.
Can someone confirms this situation is normal ? What kind of searchable THING should I use. Is the radcombobox wrong component for this ?
best regards.
heres the code:
<telerik:RadComboBox ID="cboProducts" runat="server"
DataSourceID="SqlDataSourceProducts" DataTextField="productname"
DataValueField="guidid" Filter="StartsWith">
</telerik:RadComboBox>
<asp:SqlDataSource ID="SqlDataSourceProducts" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringNET %>"
ProviderName="<%$ ConnectionStrings:ConnectionStringNET.ProviderName %>" DataSourceMode="Dataset"
EnableCaching="true"
SelectCommand="SELECT guidid, [productname], productcode FROM productsORDER BY [productname]">
<SelectParameters>
</SelectParameters>
</asp:SqlDataSource>