Selection of first element

3 posts, 0 answers
  1. Cyril
    Cyril avatar
    4 posts
    Member since:
    Jul 2008

    Posted 20 Aug 2008 Link to this post


    I am here to point out what seems to be a little but annoying bug.

    When you set FilteringMode to "Contains", if you type some letters, you get the auto-completion to work (so far, just fine). But if you decide to click on the first (and focused) element in the list, it won't catch the text to fill the textbox.

    I think it's due to the fact that in FilteringMode "StartsWith", it automatically fills the textbox with the first element found. In "Contains" mode, it just doesn't ...

    I hope I have been clear enough about how to reproduce it. And sorry if it has already been submitted.

    While I'm here, another question : when I get into "Contains" mode, by default, if I start typing something, the dropdown doesn't open. To solve it, I had to inherit the RadComboBox to bubble up the event OnTextChanged, to make it work. In your demo, it works without any workaround, is that normal ?

    Thanks !
    Cyril Cathala
  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 22 Aug 2008 Link to this post

    Hi Cyril,

    This is a known problem in RadComboBox, which will be addressed in the upcoming update of RadControls for Silverlight next week. I already changed the control behavior as follows:
    - before: the dropdown opens when you start typing
    - now: the dropdown opens when the textbox receives focus, but only if the filtering is enabled. I was thinking about adding a new property OpenDropDownOnFocus, or something similar, which will make clear to the developer when is the dropdown opened, but for now I decided to leave the control as it is.

    I will be glad to get your feedback about how do you expect it to behave when the filtering is enabled.

    Regarding the second question - I was not able to reproduce the problem and I think that it is not normal to inherit the control, just to let the dropdown to open when you start typing. I suppose that the problem will disappear when you upgrade the control to the version we will release next tuesday.

    Your points have been updated.

    Best wishes,
    Valeri Hristov (Silverlight Team)
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Cyril
    Cyril avatar
    4 posts
    Member since:
    Jul 2008

    Posted 22 Aug 2008 Link to this post

    All right, this is great ! I guess the dropdown opening on focus is the best behaviour to expect. Maybe you can let the choice between this and opening when text is changed.

    I'll just wait for the next version to be released, thank you for your answers :)

    Kind regards,

    Cyril Cathala
Back to Top