Hello,
I'm having an issue with the Load-on-demand functionality of the RadComboBox. I've set EnableLoadOnDemand="true" and have added OnItemsRequested="cbo1ItemsRequested" event. The event gets fired if text is typed inside the dropdown box. However, when I attempt to open the combobox via the arrow the event fails to fire and I'm left with an empty selection set.
Here is a copy of my aspx code:
<telerik:RadComboBox ID="cbo1" AutoPostBack="True" EnableViewState="False" Width="30em" |
Font-Size="13px" OnSelectedIndexChanged="cbo1_SelectedIndexChanged" |
CausesValidation="false" OnPreRender="cbo1_PreRender" runat="server" Font-Bold="True" |
HighlightTemplatedItems="True" MarkFirstMatch="true" EnableLoadOnDemand="true" OnItemsRequested="cbo1_ItemsRequested"> |
<CollapseAnimation Duration="200" Type="OutQuint" /> |
<ItemTemplate> |
<table width="100%" cellpadding="0" cellspacing="0"> |
<tr> |
<td> |
<asp:Label ID="lblName" Font-Size="larger" Font-Bold="true" runat="server" |
Text='<%# DataBinder.Eval(Container.DataItem, "EntityName") %>' /> |
</td> |
<td style="text-align: right"> |
<asp:Panel ID="pnlImage" runat="server"> |
<asp:Image ID="imgForward" runat="server" ImageUrl="../images/icons/forward.gif" /> |
</asp:Panel> |
</td> |
</tr> |
</table> |
</ItemTemplate> |
</telerik:RadComboBox> |
Any ideas?
Thanks,
Allen