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

Unable to select specific items in box

4 Answers 46 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Kjell asked on 01 Mar 2011, 10:24 PM
Hello.  In my project I am sometimes unable to select the first option in a combo box unless I select another option first and then go back and pick the first one.  After a lot of experimentation I was finally able to duplicate a similar issue in your demo system.

Follow these steps to duplicate the problem:

1. Start out here: http://demos.telerik.com/silverlight/#ComboBox/Configurator
2. Check "IsFilteringEnanbled", "CanKeyboardNavigation...", and "OpenDropDownOnFocus".  Leave the rest at default (IsEditable should be checked already and the others should be unchecked).
3. Click in the box and type the letter "p", then try to select "Pavlova, Ltd.".  Sometimes it works, sometimes it doesn't and you are stuck with just p in the box unless you clear it out or select something else.  If it works, clear out the box and try doing the same thing again, it usually fails on the second try for me.

The screenshot I attached illustrates the issue.  If I click on "Pavlova, Ltd.", it will collapse and the menu the text in the box wont change.  Essentially "Pavlova, Ltd." is not selectable at this point unless the box is cleared out or another item is selected first.

I know this is pretty obscure but it came up during QA in my application.  Please give me an explanation or let me know this is something which will be fixed in a future build.  Thanks in advance.

4 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 03 Mar 2011, 02:41 PM
Hello Kjell,

Thank you for your detailed explanation I was able to reproduce the behavior. The problem here is that you have selected "Pavlova, Ltd." already. So when you select it again the SelectionChanged is not invoked and so the Text is not updated. The bad thing is that I can't think of a workaround for that.

Kind regards,
Boyan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Kjell
Top achievements
Rank 1
answered on 03 Mar 2011, 08:23 PM
I appreciate the response Boyd and I'm glad to hear that at least I wasn't doing something wrong.  However, shouldn't clearing out or changing the text in the menu reset the selecteditem?  Thus causing the selection changed event to fire when reselecting the item?  Can this be fixed in the next build?
0
Valeri Hristov
Telerik team
answered on 07 Mar 2011, 06:54 PM
Hello Kjell,

This problem will be fixed in the next update of RadControls for Silverlight. I don't know however if there will be more internal build for Q3 2010, so the update will enter in Q1 2011 (next week) for sure. If you need an internal build for Q3 let me know and we will prepare a special one for you.

All the best,
Valeri Hristov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Kjell
Top achievements
Rank 1
answered on 07 Mar 2011, 07:31 PM
Thanks, that's great
Tags
ComboBox
Asked by
Kjell
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Kjell
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or