I believe I am using the latest version of Telerik.Web.UI (2010.1.415.35), but have come across a major issue for my use case.
It's essential to my application that when a user changes the text in the RadCombo that LoadOnDemand actions off a request to the server.
But, in IE I'm not getting the behaviour I expect, even though in FireFox I do. The problem is that when I have CustomText=True, LoadOnDemand=True, and I make a valid selection and then type a single character a request to the server is not made and it should be.
Please advise?
Cheers.
It's essential to my application that when a user changes the text in the RadCombo that LoadOnDemand actions off a request to the server.
But, in IE I'm not getting the behaviour I expect, even though in FireFox I do. The problem is that when I have CustomText=True, LoadOnDemand=True, and I make a valid selection and then type a single character a request to the server is not made and it should be.
<
asp:ScriptManager
ID
=
"ctlScriptManager"
runat
=
"server"
/>
<
telerik:RadComboBox
ID
=
"ddlCombo"
runat
=
"server"
AllowCustomText
=
"true"
EnableLoadOnDemand
=
"true"
/>
Private
Sub
ddlCombo_ItemsRequested(
ByVal
o
As
Object
,
ByVal
e
As
RadComboBoxItemsRequestedEventArgs)
Handles
ddlCombo.ItemsRequested
ddlCombo.DataSource = GetData()
ddlCombo.DataValueField =
"Key"
ddlCombo.DataTextField =
"Value"
ddlCombo.DataBind()
End
Sub
Private
Function
GetData()
As
IDictionary(Of
Integer
,
String
)
Dim
items
As
New
Dictionary(Of
Integer
,
String
)()
items.Add(0,
"-- None --"
)
items.Add(1,
"One"
)
items.Add(2,
"Two"
)
items.Add(3,
"Three"
)
Return
items
End
Function
Please advise?
Cheers.