Not requesting when typing a character after selection made

4 posts, 0 answers
  1. iTools
    iTools avatar
    28 posts
    Member since:
    Jun 2007

    Posted 08 Aug 2010 Link to this post

    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.
  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 12 Aug 2010 Link to this post

    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
  3. iTools
    iTools avatar
    28 posts
    Member since:
    Jun 2007

    Posted 15 Aug 2010 Link to this post

    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.
  4. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 16 Aug 2010 Link to this post

    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
Back to Top