This is a migrated thread and some comments may be shown as answers.

Not requesting when typing a character after selection made

3 Answers 24 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
iTools
Top achievements
Rank 1
iTools asked on 09 Aug 2010, 01:32 AM
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.

<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.

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 12 Aug 2010, 01:05 PM
Hi jan fischer,

I did not understand from your description whether this happens only on the first key press and not always (in IE). If it is, then this is a bug, which we fixed fairly recently.

However your version is Q1 2010 and it does not include the fix. Please consider upgrading to the latest version if this is an option for you.

All the best,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
iTools
Top achievements
Rank 1
answered on 16 Aug 2010, 12:21 AM
Only on the first key press, immediately after making a single selection, only in IE.
Subsequent key presses cause requests to the server as expected.
0
Simon
Telerik team
answered on 16 Aug 2010, 12:18 PM
Hello jan fischer,

This matches the description of the issue we fixed after the Q1 2010 release.

Please consider upgrading to the latest version of Telerik.Web.UI to resolve it.

Best wishes,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
iTools
Top achievements
Rank 1
Answers by
Simon
Telerik team
iTools
Top achievements
Rank 1
Share this question
or