I am loading a rad combo box on demand (EnableLoadOnDemand="True") in the ItemsRequested event. I want this to load when the user opens the combo box but not when they type in the combo box (I have MarkFirstMatch = true). Is this possible?
Here is the code I am using for all this if it helps:
<telerik:RadComboBox ID="RadComboBox2" CssClass="DGselectPerson" runat="server" EmptyMessage="Select a Person" EnableLoadOnDemand="True" AppendDataBoundItems="false" AutoPostBack="true" DataTextField="Name" DataValueField="RecordID" EnableVirtualScrolling="true" OnClientDropDownOpening="onDropDownOpening" OnItemsRequested="RadComboBox2_ItemsRequested" MarkFirstMatch="true">
</telerik:RadComboBox>
Protected
Sub RadComboBox2_ItemsRequested(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs) Handles RadComboBox2.ItemsRequested
RadComboBox2.DataSource = GetPeople()
RadComboBox2.DataBind()
End Sub