Hi,
Here is my situation: on a page used to match items from list A with items from list B, I repeat the "same" RadComboBox presenting the items from list B (via a load on demand webservice) for each item of list A.
The scenario is that for each item of list A we assign an item from list B.
With numerous items in the lists (let's say 1000), the page is horribly slow on IE8. Horribly slow in the sense that it never actually loads, IE8 crashes. Firefox seems to handle it much better.
Can you provide any insight on how I could fix my problem ? My thoughts were :
1) Use a paging control to display less items at once (but no less than 100).
This is merely a workaround, not a real fix though...
2) Some Telerik functionality to share the same combo client-object since it's always the same items being loaded. (similar to SharedCalendarID in RadDatePicker)
3) Create one single invisible RadComboBox outside the Repeater and manually manipulate it though javascript to reuse it and save the result in an hidden field for each item.
Effectivelly doing a manual 2)
What are your thoughts? Thanks.
Dominic.
Using 2009 Q1 SP1 (v2009.1.527.35)
Here is my situation: on a page used to match items from list A with items from list B, I repeat the "same" RadComboBox presenting the items from list B (via a load on demand webservice) for each item of list A.
<asp:Repeater ID="rptr" runat="server" OnItemDataBound="rptr_ItemDataBound"> | |
<HeaderTemplate> | |
<table cellpadding="0" cellspacing="0" class="hspace"> | |
<tr> | |
<th><asp:Literal ID="lblItemA" runat="server" Text="Item A" /></th> | |
<th><asp:Literal ID="lblItemB" runat="server" Text="Item B" /></th> | |
</tr> | |
</HeaderTemplate> | |
<ItemTemplate> | |
<tr> | |
<td><asp:Literal ID="ltrlItemA" runat="server" /><asp:HiddenField ID="hfIdItemA" runat="server" /></td> | |
<td> | |
<telerik:RadComboBox ID="rcmb" runat="server" Skin="Default" Width="300px" ShowMoreResultsBox="true" EnableVirtualScrolling="false" | |
EnableLoadOnDemand="true" MarkFirstMatch="true" ItemRequestTimeout="500" OpenDropDownOnLoad="false" ShowDropDownOnTextboxClick="false"> | |
<WebServiceSettings Path="services/RadControlsHelper.asmx" Method="SearchItemB" /> | |
</telerik:RadComboBox> | |
</td> | |
</tr> | |
</ItemTemplate> | |
<FooterTemplate></table></FooterTemplate> | |
</asp:Repeater> | |
The scenario is that for each item of list A we assign an item from list B.
With numerous items in the lists (let's say 1000), the page is horribly slow on IE8. Horribly slow in the sense that it never actually loads, IE8 crashes. Firefox seems to handle it much better.
Can you provide any insight on how I could fix my problem ? My thoughts were :
1) Use a paging control to display less items at once (but no less than 100).
This is merely a workaround, not a real fix though...
2) Some Telerik functionality to share the same combo client-object since it's always the same items being loaded. (similar to SharedCalendarID in RadDatePicker)
3) Create one single invisible RadComboBox outside the Repeater and manually manipulate it though javascript to reuse it and save the result in an hidden field for each item.
Effectivelly doing a manual 2)
What are your thoughts? Thanks.
Dominic.
Using 2009 Q1 SP1 (v2009.1.527.35)